gridsim.parallel.scheduler
Interface PrioritySelector
public interface PrioritySelector
This interface is used by a scheduler to obtain the priority of a given
schedule item (i.e. job or advance reservation). This information is
used by allocation policies that use priorities such as
AggressiveMultiPartitions
.
- Since:
- 5.0
- Author:
- Marcos Dias de Assuncao
getSchedulePriority
int getSchedulePriority(ScheduleItem item)
- Returns the priority of the item to be assigned by the scheduler
or allocation policy.
- Parameters:
item
- the item whose priority needs to be obtained.
- Returns:
- the priority of the schedule item or -1 if unknown.
The University of Melbourne, Australia, 2009