Ignore:
Timestamp:
06/26/14 14:18:01 (11 years ago)
Author:
wojtekp
Message:
 
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  
    44 
    55import schedframe.scheduling.ExecutionHistoryItem; 
    6 import schedframe.scheduling.ResourceHistoryItem; 
     6import schedframe.scheduling.ResourceItem; 
    77import schedframe.scheduling.tasks.TaskInterface; 
    8 import schedframe.scheduling.tasks.phases.ResourceConsumption; 
    98import schedframe.scheduling.tasks.phases.ExecutionProfile; 
    109import schedframe.scheduling.tasks.requirements.ResourceParameterName; 
     
    1514        public Object getExpectedSpecificResource(ResourceParameterName resourceName); 
    1615         
    17         public LinkedList<ExecutionHistoryItem> getExecHistory(); 
    18         public LinkedList<ResourceHistoryItem> getAllocatedResources(); 
     16        public ExecutionProfile getExecutionProfile(); 
    1917         
    20         public ExecutionProfile getResourceConsumptionProfile(); 
    21         public ResourceConsumption getCurrentResourceConsumption(); 
     18        public LinkedList<ResourceItem> getAllocatedResources(); 
     19    public String getSchedulerName(); 
    2220         
    23     public String getSchedulerName(); 
     21        public LinkedList<ExecutionHistoryItem> getExecutionHistory(); 
     22 
    2423} 
  • DCWoRMS/branches/coolemall/src/dcworms/schedframe/scheduling/Executable.java

    r1362 r1396  
    2424import schedframe.resources.units.StandardResourceUnitName; 
    2525import schedframe.scheduling.ExecutionHistoryItem; 
    26 import schedframe.scheduling.ResourceHistoryItem; 
     26import schedframe.scheduling.ResourceItem; 
    2727import schedframe.scheduling.WorkloadUnitHandler; 
    2828import schedframe.scheduling.manager.tasks.JobRegistryImpl; 
     
    6565         
    6666        protected LinkedList<ExecutionHistoryItem> execHistory;; 
    67         protected LinkedList<ResourceHistoryItem> allocatedResources; 
     67        protected LinkedList<ResourceItem> allocatedResources; 
    6868         
    6969        public Executable(Task t){ 
     
    7171                this.status = DCWormsTags.CREATED; 
    7272 
    73                 this.allocatedResources = new LinkedList<ResourceHistoryItem>(); 
     73                this.allocatedResources = new LinkedList<ResourceItem>(); 
    7474                this.execHistory = new LinkedList<ExecutionHistoryItem>(); 
    7575                init(); 
     
    8181                this.processesSetId = procesesSet.getId();  
    8282                 
    83                 this.allocatedResources = new LinkedList<ResourceHistoryItem>(); 
     83                this.allocatedResources = new LinkedList<ResourceItem>(); 
    8484                this.execHistory = new LinkedList<ExecutionHistoryItem>(); 
    8585                init(); 
     
    366366        }*/ 
    367367         
    368         public ExecutionProfile getResourceConsumptionProfile(){ 
     368        public ExecutionProfile getExecutionProfile(){ 
    369369                return execProfile; 
    370370        } 
     
    470470        } 
    471471 
    472         public LinkedList<ExecutionHistoryItem> getExecHistory() { 
     472        public LinkedList<ExecutionHistoryItem> getExecutionHistory() { 
    473473                return execHistory; 
    474474        } 
     
    478478        } 
    479479 
    480         public LinkedList<ResourceHistoryItem> getAllocatedResources() { 
     480        public LinkedList<ResourceItem> getAllocatedResources() { 
    481481                return allocatedResources; 
    482482        } 
    483483 
    484         public void addAllocatedResources(ResourceHistoryItem allocatedResourcesItem) { 
     484        public void addAllocatedResources(ResourceItem allocatedResourcesItem) { 
    485485                this.allocatedResources.add(allocatedResourcesItem); 
    486486        } 
Note: See TracChangeset for help on using the changeset viewer.