|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.broker.region.policy.MessageEvictionStrategySupport
org.apache.activemq.broker.region.policy.OldestMessageEvictionStrategy
public class OldestMessageEvictionStrategy
An eviction strategy which evicts the oldest message first (which is the default).
Constructor Summary | |
---|---|
OldestMessageEvictionStrategy()
|
Method Summary | |
---|---|
MessageReference[] |
evictMessages(java.util.LinkedList messages)
Find the message reference in the given list with oldest messages at the front and newer messages at the end |
Methods inherited from class org.apache.activemq.broker.region.policy.MessageEvictionStrategySupport |
---|
getEvictExpiredMessagesHighWatermark, setEvictExpiredMessagesHighWatermark |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OldestMessageEvictionStrategy()
Method Detail |
---|
public MessageReference[] evictMessages(java.util.LinkedList messages)
MessageEvictionStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |