Class DelayedReference<V>

  • All Implemented Interfaces:
    Comparable<Delayed>, Delayed

    public class DelayedReference<V>
    extends Object
    implements Delayed

    A generic immutable reference holder that implements Delayed interface and thus is suitable for use in a DelayQueue instances.

    Instances of this DelayedReference class work with a milliseconds precision.

    Author:
    Marek Potociar