Changeset 1396 for DCWoRMS/branches/coolemall/src/dcworms/schedframe
- Timestamp:
- 06/26/14 14:18:01 (11 years ago)
- Location:
- DCWoRMS/branches/coolemall/src/dcworms/schedframe/scheduling
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/dcworms/schedframe/scheduling/ExecTask.java
r1362 r1396 4 4 5 5 import schedframe.scheduling.ExecutionHistoryItem; 6 import schedframe.scheduling.Resource HistoryItem;6 import schedframe.scheduling.ResourceItem; 7 7 import schedframe.scheduling.tasks.TaskInterface; 8 import schedframe.scheduling.tasks.phases.ResourceConsumption;9 8 import schedframe.scheduling.tasks.phases.ExecutionProfile; 10 9 import schedframe.scheduling.tasks.requirements.ResourceParameterName; … … 15 14 public Object getExpectedSpecificResource(ResourceParameterName resourceName); 16 15 17 public LinkedList<ExecutionHistoryItem> getExecHistory(); 18 public LinkedList<ResourceHistoryItem> getAllocatedResources(); 16 public ExecutionProfile getExecutionProfile(); 19 17 20 public ExecutionProfile getResourceConsumptionProfile();21 public ResourceConsumption getCurrentResourceConsumption();18 public LinkedList<ResourceItem> getAllocatedResources(); 19 public String getSchedulerName(); 22 20 23 public String getSchedulerName(); 21 public LinkedList<ExecutionHistoryItem> getExecutionHistory(); 22 24 23 } -
DCWoRMS/branches/coolemall/src/dcworms/schedframe/scheduling/Executable.java
r1362 r1396 24 24 import schedframe.resources.units.StandardResourceUnitName; 25 25 import schedframe.scheduling.ExecutionHistoryItem; 26 import schedframe.scheduling.Resource HistoryItem;26 import schedframe.scheduling.ResourceItem; 27 27 import schedframe.scheduling.WorkloadUnitHandler; 28 28 import schedframe.scheduling.manager.tasks.JobRegistryImpl; … … 65 65 66 66 protected LinkedList<ExecutionHistoryItem> execHistory;; 67 protected LinkedList<Resource HistoryItem> allocatedResources;67 protected LinkedList<ResourceItem> allocatedResources; 68 68 69 69 public Executable(Task t){ … … 71 71 this.status = DCWormsTags.CREATED; 72 72 73 this.allocatedResources = new LinkedList<Resource HistoryItem>();73 this.allocatedResources = new LinkedList<ResourceItem>(); 74 74 this.execHistory = new LinkedList<ExecutionHistoryItem>(); 75 75 init(); … … 81 81 this.processesSetId = procesesSet.getId(); 82 82 83 this.allocatedResources = new LinkedList<Resource HistoryItem>();83 this.allocatedResources = new LinkedList<ResourceItem>(); 84 84 this.execHistory = new LinkedList<ExecutionHistoryItem>(); 85 85 init(); … … 366 366 }*/ 367 367 368 public ExecutionProfile get ResourceConsumptionProfile(){368 public ExecutionProfile getExecutionProfile(){ 369 369 return execProfile; 370 370 } … … 470 470 } 471 471 472 public LinkedList<ExecutionHistoryItem> getExec History() {472 public LinkedList<ExecutionHistoryItem> getExecutionHistory() { 473 473 return execHistory; 474 474 } … … 478 478 } 479 479 480 public LinkedList<Resource HistoryItem> getAllocatedResources() {480 public LinkedList<ResourceItem> getAllocatedResources() { 481 481 return allocatedResources; 482 482 } 483 483 484 public void addAllocatedResources(Resource HistoryItem allocatedResourcesItem) {484 public void addAllocatedResources(ResourceItem allocatedResourcesItem) { 485 485 this.allocatedResources.add(allocatedResourcesItem); 486 486 }
Note: See TracChangeset
for help on using the changeset viewer.