org.apache.activemq.broker.region.policy
Class MessageEvictionStrategySupport
java.lang.Object
org.apache.activemq.broker.region.policy.MessageEvictionStrategySupport
- All Implemented Interfaces:
- MessageEvictionStrategy
- Direct Known Subclasses:
- OldestMessageEvictionStrategy, OldestMessageWithLowestPriorityEvictionStrategy
public abstract class MessageEvictionStrategySupport
- extends Object
- implements MessageEvictionStrategy
A useful base class for implementation inheritence.
- Version:
- $Revision: 426366 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageEvictionStrategySupport
public MessageEvictionStrategySupport()
getEvictExpiredMessagesHighWatermark
public int getEvictExpiredMessagesHighWatermark()
- Description copied from interface:
MessageEvictionStrategy
- REturns the high water mark on which we will eagerly evict expired messages from RAM
- Specified by:
getEvictExpiredMessagesHighWatermark
in interface MessageEvictionStrategy
setEvictExpiredMessagesHighWatermark
public void setEvictExpiredMessagesHighWatermark(int evictExpiredMessagesHighWaterMark)
- Sets the high water mark on which we will eagerly evict expired messages from RAM
Copyright © 2011 Apache Software Foundation. All Rights Reserved.