public interface Delayed extends java.lang.Comparable
An implementation of this interface must define a compareTo method that provides an ordering consistent with its getDelay method.
long
getDelay(TimeUnit unit)
compareTo
long getDelay(TimeUnit unit)
unit