public class OldestMessageEvictionStrategy extends MessageEvictionStrategySupport
Constructor and Description |
---|
OldestMessageEvictionStrategy() |
Modifier and Type | Method and Description |
---|---|
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
|
getEvictExpiredMessagesHighWatermark, setEvictExpiredMessagesHighWatermark
public OldestMessageEvictionStrategy()
public MessageReference[] evictMessages(java.util.LinkedList messages)
MessageEvictionStrategy
Copyright © 2005-2017. All Rights Reserved.