Example usage for Java java.util.concurrent ScheduledFuture fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | cancel(boolean mayInterruptIfRunning) Attempts to cancel execution of this task. |
V | get() Waits if necessary for the computation to complete, and then retrieves its result. |
long | getDelay(TimeUnit unit) Returns the remaining delay associated with this object, in the given time unit. |
boolean | isCancelled() Returns true if this task was cancelled before it completed normally. |
boolean | isDone() Returns true if this task completed. |
String | toString() Returns a string representation of the object. |