|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.broker.region.policy.ConstantPendingMessageLimitStrategy
public class ConstantPendingMessageLimitStrategy
This PendingMessageLimitStrategy is configured to a constant value for all subscriptions.
Constructor Summary | |
---|---|
ConstantPendingMessageLimitStrategy()
|
Method Summary | |
---|---|
int |
getLimit()
|
int |
getMaximumPendingMessageLimit(TopicSubscription subscription)
Calculate the maximum number of pending messages (in excess of the prefetch size) for the given subscription |
void |
setLimit(int limit)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstantPendingMessageLimitStrategy()
Method Detail |
---|
public int getMaximumPendingMessageLimit(TopicSubscription subscription)
PendingMessageLimitStrategy
getMaximumPendingMessageLimit
in interface PendingMessageLimitStrategy
public int getLimit()
public void setLimit(int limit)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |