Comparable<Delayed>RunnableScheduledFuture<V>, ScheduledFuture<V>public interface Delayed extends Comparable<Delayed>
An implementation of this interface must define a
compareTo method that provides an ordering consistent with
its getDelay method.
long getDelay(TimeUnit unit)
unit - the time unit