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
Line 
1package schedframe.scheduling.tasks;
2
3import schedframe.scheduling.WorkloadUnitHandler;
4import schedframe.scheduling.manager.tasks.JobRegistryImpl;
5
6public 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.