Home » activemq-parent-5.3.1-source-release » org.apache » activemq » memory » list » [javadoc | source]
org.apache.activemq.memory.list
public class: DestinationBasedMessageList [javadoc | source]
java.lang.Object
   org.apache.activemq.memory.list.DestinationBasedMessageList

All Implemented Interfaces:
    MessageList

An implementation of MessageList which maintains a separate message list for each destination to reduce contention on the list and to speed up recovery times by only recovering the interested topics.
Constructor:
 public DestinationBasedMessageList(int maximumSize) 
 public DestinationBasedMessageList(MessageBuffer buffer) 
Method from org.apache.activemq.memory.list.DestinationBasedMessageList Summary:
add,   browse,   clear,   getMessages,   getMessages
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.memory.list.DestinationBasedMessageList Detail:
 public  void add(MessageReference node) 
 public Message[] browse(ActiveMQDestination destination) 
 public  void clear() 
 public List<MessageReference> getMessages(Subscription sub) 
 public List<MessageReference> getMessages(ActiveMQDestination destination)