source: DCWoRMS/trunk/src/schedframe/scheduling/tasks/WorkloadUnit.java @ 481

Revision 481, 482 bytes checked in by wojtekp, 13 years ago (diff)
  • Property svn:mime-type set to text/plain
RevLine 
[477]1package schedframe.scheduling.tasks;
2
3import schedframe.scheduling.WorkloadUnitHandler;
4import schedframe.scheduling.manager.tasks.JobRegistryImpl;
5
[478]6public 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.