Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

public interface Delayed

ExtendsComparable<Delayed>

Known subtypesScheduledFuture

Something that is due after a delay, ordered by when it is due.

Methods

public abstract long getDelay(TimeUnit unit)How long until this is due in unit; zero or negative once it is.

Inherited methods

Method details

getDelay

public abstract long getDelay(TimeUnit unit)
How long until this is due in unit; zero or negative once it is.