Revision 481,
482 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Line | |
---|
1 | package schedframe.scheduling.tasks; |
---|
2 | |
---|
3 | import schedframe.scheduling.WorkloadUnitHandler; |
---|
4 | import schedframe.scheduling.manager.tasks.JobRegistryImpl; |
---|
5 | |
---|
6 | public interface WorkloadUnit { |
---|
7 | |
---|
8 | public String getId(); |
---|
9 | |
---|
10 | public int getUserId(); |
---|
11 | |
---|
12 | public int getStatus(); |
---|
13 | |
---|
14 | public void setStatus(int status) throws Exception; |
---|
15 | |
---|
16 | public boolean isFinished(); |
---|
17 | |
---|
18 | public boolean isRegistered(); |
---|
19 | |
---|
20 | public void register(JobRegistryImpl jobRegistry); |
---|
21 | |
---|
22 | public void accept(WorkloadUnitHandler wuh); |
---|
23 | |
---|
24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.