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

All Implemented Interfaces:
    SubscriptionRecoveryPolicy

This implementation of SubscriptionRecoveryPolicy will keep a fixed count of last messages.
Method from org.apache.activemq.broker.region.policy.FixedCountSubscriptionRecoveryPolicy 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 org.apache.activemq.broker.region.policy.FixedCountSubscriptionRecoveryPolicy 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