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
Modifier and TypeMethodDescriptionIterating from the highest priority to the lowest.Returns a default priority that is considered as average.Returns the default priority for processes.Returns the highest possible priority.Returns a default priority that is considered as high.Returns the lowest possible priority.Returns a default priority that is considered as low.Iterating form the lowest priority to the highest.
-
Method Details
-
decreasing
Iterating from the highest priority to the lowest.- Returns:
-
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:
-