Package org.apache.qpid.server.queue
Class PriorityQueueList
- java.lang.Object
-
- org.apache.qpid.server.queue.OrderedQueueEntryList
-
- org.apache.qpid.server.queue.PriorityQueueList
-
public abstract class PriorityQueueList extends OrderedQueueEntryList
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.qpid.server.queue.OrderedQueueEntryList
OrderedQueueEntryList.HeadCreator, OrderedQueueEntryList.QueueEntryIteratorImpl
-
-
Constructor Summary
Constructors Constructor Description PriorityQueueList(PriorityQueueImpl queue, OrderedQueueEntryList.HeadCreator headCreator)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description QueueEntry
getLeastSignificantOldestEntry()
static PriorityQueueList
newInstance(PriorityQueueImpl queue)
void
updateStatsOnStateChange(QueueEntry entry, MessageInstance.EntryState fromState, MessageInstance.EntryState toState)
-
Methods inherited from class org.apache.qpid.server.queue.OrderedQueueEntryList
add, createQueueEntry, entryDeleted, getHead, getOldestEntry, getPriorities, getQueue, getTail, iterator, next
-
-
-
-
Constructor Detail
-
PriorityQueueList
public PriorityQueueList(PriorityQueueImpl queue, OrderedQueueEntryList.HeadCreator headCreator)
-
-
Method Detail
-
newInstance
public static PriorityQueueList newInstance(PriorityQueueImpl queue)
-
updateStatsOnStateChange
public void updateStatsOnStateChange(QueueEntry entry, MessageInstance.EntryState fromState, MessageInstance.EntryState toState)
-
getLeastSignificantOldestEntry
public abstract QueueEntry getLeastSignificantOldestEntry()
-
-