Revision 481,
482 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Rev | Line | |
---|
[477] | 1 | package schedframe.scheduling.tasks; |
---|
| 2 | |
---|
| 3 | import schedframe.scheduling.WorkloadUnitHandler; |
---|
| 4 | import schedframe.scheduling.manager.tasks.JobRegistryImpl; |
---|
| 5 | |
---|
[478] | 6 | public interface WorkloadUnit { |
---|
[477] | 7 | |
---|
| 8 | public String getId(); |
---|
| 9 | |
---|
[481] | 10 | public int getUserId(); |
---|
[477] | 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.