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 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: