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

All Implemented Interfaces:

This PendingMessageLimitStrategy sets the maximum pending message limit value to be a multiplier of the prefetch limit of the subscription.
Method from Summary:
getMaximumPendingMessageLimit,   getMultiplier,   setMultiplier
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from 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.