Class AbstractQOS

  • Direct Known Subclasses:
    AbstractQOSBasedQueue

    public abstract class AbstractQOS
    extends java.lang.Object
    Created by acurtis on 7/27/17.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractQOS​(java.util.Map<QOS,​java.lang.Integer> qosBasedAllocations)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<QOS,​java.lang.Integer> getDefaultQOSAllocation()  
      protected java.util.List<QOS> getQueuePollOrder()
      Computes and returns the order in which the Queues are to be polled/peeked for this request
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _log

        protected final org.apache.logging.log4j.Logger _log
      • _qosBasedAllocations

        protected final java.util.Map<QOS,​java.lang.Integer> _qosBasedAllocations
      • _allocationTotal

        protected final int _allocationTotal
    • Constructor Detail

      • AbstractQOS

        protected AbstractQOS​(java.util.Map<QOS,​java.lang.Integer> qosBasedAllocations)
    • Method Detail

      • getQueuePollOrder

        protected java.util.List<QOS> getQueuePollOrder()
        Computes and returns the order in which the Queues are to be polled/peeked for this request
        Returns:
        queue order
      • getDefaultQOSAllocation

        public static java.util.Map<QOS,​java.lang.Integer> getDefaultQOSAllocation()