Class FastDropLastQueue<T>

  • Type Parameters:
    T - Queue type
    All Implemented Interfaces:
    Serializable, Iterable<T>, Collection<T>, Queue<T>

    public class FastDropLastQueue<T>
    extends ConcurrentLinkedQueue<T>
    Concurrent queue that keeps the same size whatever adds done by droping the extra elements from the head This implementation is very fast but can overflow the initial size
    Author:
    afarre
    See Also:
    Serialized Form