Interface IPriorityManager
-
- All Known Implementing Classes:
PriorityManagerImpl
public interface IPriorityManager
Manages the priorities. Hides the actual possible values and direction from the processes. It only offers semantic access to the values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<IPriority>
decreasing()
Iterating from the highest priority to the lowest.IPriority
getAveragePriority()
Returns a default priority that is considered as average.IPriority
getDefaultPriority()
Returns the default priority for processes.IPriority
getHighestPriority()
Returns the highest possible priority.IPriority
getHighPriority()
Returns a default priority that is considered as high.IPriority
getLowestPriority()
Returns the lowest possible priority.IPriority
getLowPriority()
Returns a default priority that is considered as low.Iterable<IPriority>
increasing()
Iterating form the lowest priority to the highest.
-
-
-
Method Detail
-
decreasing
Iterable<IPriority> decreasing()
Iterating from the highest priority to the lowest.- Returns:
-
increasing
Iterable<IPriority> increasing()
Iterating form the lowest priority to the highest.- Returns:
-
getHighestPriority
IPriority getHighestPriority()
Returns the highest possible priority.- Returns:
-
getHighPriority
IPriority getHighPriority()
Returns a default priority that is considered as high.- Returns:
-
getAveragePriority
IPriority getAveragePriority()
Returns a default priority that is considered as average.- Returns:
-
getLowPriority
IPriority getLowPriority()
Returns a default priority that is considered as low.- Returns:
-
getLowestPriority
IPriority getLowestPriority()
Returns the lowest possible priority.- Returns:
-
getDefaultPriority
IPriority getDefaultPriority()
Returns the default priority for processes.- Returns:
-
-