Class OrderBasedMessageBuffer

java.lang.Object
org.apache.activemq.memory.buffer.OrderBasedMessageBuffer
All Implemented Interfaces:
MessageBuffer

public class OrderBasedMessageBuffer extends Object implements MessageBuffer
A MessageBuffer which evicts messages in arrival order so the oldest messages are removed first.
  • Constructor Details

    • OrderBasedMessageBuffer

      public OrderBasedMessageBuffer()
    • OrderBasedMessageBuffer

      public OrderBasedMessageBuffer(int limit)
  • Method Details