Class CoDelPriorityBlockingQueue<E extends CDPQEntry>

  • All Implemented Interfaces:
    Serializable, Iterable<E>, Collection<E>, BlockingQueue<E>, Queue<E>

    public class CoDelPriorityBlockingQueue<E extends CDPQEntry>
    extends PriBlockingQueue<E>
    CoDel implementation of Active Queue Management. Ref: Ref: Code and comments are directly from appendix above, apparently public domain. Input: add(), offer(), and put() are overridden to add a timestamp. Output : take(), poll(), and drainTo() are overridden to implement AQM and drop entries if necessary. peek(), and remove() are NOT overridden, and do NOT implement AQM or update stats.
    See Also:
    Serialized Form