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: PrefetchRatePendingMessageLimitStrategy [javadoc | source]
java.lang.Object
   org.apache.activemq.broker.region.policy.PrefetchRatePendingMessageLimitStrategy

All Implemented Interfaces:
    PendingMessageLimitStrategy

This PendingMessageLimitStrategy sets the maximum pending message limit value to be a multiplier of the prefetch limit of the subscription.
Method from org.apache.activemq.broker.region.policy.PrefetchRatePendingMessageLimitStrategy Summary:
getMaximumPendingMessageLimit,   getMultiplier,   setMultiplier
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.broker.region.policy.PrefetchRatePendingMessageLimitStrategy Detail:
 public int getMaximumPendingMessageLimit(TopicSubscription subscription) 
 public double getMultiplier() 
 public  void setMultiplier(double rate) 
    Sets the multiplier of the prefetch size which will be used to define the maximum number of pending messages for non-durable topics before messages are discarded.