Package com.linkedin.alpini.base.queuing
Class AbstractQOS
- java.lang.Object
-
- com.linkedin.alpini.base.queuing.AbstractQOS
-
- Direct Known Subclasses:
AbstractQOSBasedQueue
public abstract class AbstractQOS extends java.lang.Object
Created by acurtis on 7/27/17.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
_allocationTotal
protected org.apache.logging.log4j.Logger
_log
protected java.util.Map<QOS,java.lang.Integer>
_qosBasedAllocations
-
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
-
-
-
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)
-
-