Class OldestMessageEvictionStrategy

    • Constructor Detail

      • OldestMessageEvictionStrategy

        public OldestMessageEvictionStrategy()
    • Method Detail

      • evictMessages

        public MessageReference[] evictMessages​(LinkedList messages)
        Description copied from interface: MessageEvictionStrategy
        Find the message reference in the given list with oldest messages at the front and newer messages at the end
        Returns:
        the message that has been evicted.