Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » broker » region » policy » [javadoc | source]
public class: FixedCountSubscriptionRecoveryPolicy [javadoc | source]

All Implemented Interfaces:

This implementation of SubscriptionRecoveryPolicy will keep a fixed count of last messages.
Method from Summary:
add,   browse,   copy,   getMaximumSize,   recover,   setMaximumSize,   start,   stop
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 public synchronized boolean add(ConnectionContext context,
    MessageReference node) throws Exception 
 public synchronized Message[] browse(ActiveMQDestination destination) throws Exception 
 public SubscriptionRecoveryPolicy copy() 
 public int getMaximumSize() 
 public synchronized  void recover(ConnectionContext context,
    Topic topic,
    SubscriptionRecovery sub) throws Exception 
 public  void setMaximumSize(int maximumSize) 
    Sets the maximum number of messages that this destination will hold around in RAM
 public  void start() throws Exception 
 public  void stop() throws Exception