Interface IPriorityUpdateStrategy
-
- All Known Implementing Classes:
DecayToBaseUpdate
,SetToBaseUpdate
,SleepAverageDependentUpdate
public interface IPriorityUpdateStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IPriorityUpdateStrategy
cloneFor(ProcessWithPriority process)
boolean
update(ProcessWithPriority process)
Updates the priority of the given process according to the implemented strategy.
-
-
-
Method Detail
-
update
boolean update(ProcessWithPriority process)
Updates the priority of the given process according to the implemented strategy. If true is returned an update was performed, otherwise the priority of the process did not change.
-
cloneFor
IPriorityUpdateStrategy cloneFor(ProcessWithPriority process)
-
-