org.apache.activemq.broker.region.policy
Class MessageEvictionStrategySupport

java.lang.Object
  extended by org.apache.activemq.broker.region.policy.MessageEvictionStrategySupport
All Implemented Interfaces:
MessageEvictionStrategy
Direct Known Subclasses:
OldestMessageEvictionStrategy, OldestMessageWithLowestPriorityEvictionStrategy

public abstract class MessageEvictionStrategySupport
extends java.lang.Object
implements MessageEvictionStrategy

A useful base class for implementation inheritence.


Constructor Summary
MessageEvictionStrategySupport()
           
 
Method Summary
 int getEvictExpiredMessagesHighWatermark()
          REturns the high water mark on which we will eagerly evict expired messages from RAM
 void setEvictExpiredMessagesHighWatermark(int evictExpiredMessagesHighWaterMark)
          Sets the high water mark on which we will eagerly evict expired messages from RAM
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.activemq.broker.region.policy.MessageEvictionStrategy
evictMessages
 

Constructor Detail

MessageEvictionStrategySupport

public MessageEvictionStrategySupport()
Method Detail

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 © 2005-2011 FuseSource, Corp.. All Rights Reserved.