org.apache.qpid.server.queue
Class PriorityQueueList

java.lang.Object
  extended by org.apache.qpid.server.queue.PriorityQueueList
All Implemented Interfaces:
QueueEntryList

public class PriorityQueueList
extends Object
implements QueueEntryList


Nested Class Summary
(package private) static class PriorityQueueList.Factory
           
 
Constructor Summary
PriorityQueueList(AMQQueue queue, int priorities)
           
 
Method Summary
 QueueEntry add(ServerMessage message)
           
 QueueEntry getHead()
           
 int getPriorities()
           
 AMQQueue getQueue()
           
 QueueEntryIterator iterator()
           
 QueueEntry next(QueueEntry node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PriorityQueueList

public PriorityQueueList(AMQQueue queue,
                         int priorities)
Method Detail

getPriorities

public int getPriorities()

getQueue

public AMQQueue getQueue()
Specified by:
getQueue in interface QueueEntryList

add

public QueueEntry add(ServerMessage message)
Specified by:
add in interface QueueEntryList

next

public QueueEntry next(QueueEntry node)
Specified by:
next in interface QueueEntryList

iterator

public QueueEntryIterator iterator()
Specified by:
iterator in interface QueueEntryList

getHead

public QueueEntry getHead()
Specified by:
getHead in interface QueueEntryList


Licensed to the Apache Software Foundation