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

All Implemented Interfaces:

A simple fixed size MessageList where there is a single, fixed size list that all messages are added to for simplicity. Though this will lead to possibly slow recovery times as many more messages than is necessary will have to be iterated through for each subscription.
 public SimpleMessageList() 
 public SimpleMessageList(int maximumSize) 
Method from org.apache.activemq.memory.list.SimpleMessageList Summary:
add,   browse,   clear,   getList,   getMessages,   getSize
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.memory.list.SimpleMessageList Detail:
 public  void add(MessageReference node) 
 public Message[] browse(ActiveMQDestination destination) 
 public  void clear() 
 public List<MessageReference> getList() 
    Returns a copy of the list
 public List<MessageReference> getMessages(ActiveMQDestination destination) 
 public int getSize()