Revision 478,
522 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.DescriptionContainer; |
---|
4 | import schedframe.scheduling.WorkloadUnitHandler; |
---|
5 | import schedframe.scheduling.manager.tasks.JobRegistryImpl; |
---|
6 | |
---|
7 | public interface WorkloadUnit { |
---|
8 | |
---|
9 | public String getId(); |
---|
10 | |
---|
11 | public int getUserID(); |
---|
12 | |
---|
13 | public int getStatus(); |
---|
14 | |
---|
15 | public void setStatus(int status) throws Exception; |
---|
16 | |
---|
17 | public boolean isFinished(); |
---|
18 | |
---|
19 | public boolean isRegistered(); |
---|
20 | |
---|
21 | public void register(JobRegistryImpl jobRegistry); |
---|
22 | |
---|
23 | public void accept(WorkloadUnitHandler wuh); |
---|
24 | |
---|
25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.