Java com.google.common.util.concurrent ListenableScheduledFuture fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.util.concurrent ListenableScheduledFuture fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.util.concurrent ListenableScheduledFuture.

The text is from its open source code.

Method

voidaddListener(Runnable listener, Executor executor)
Registers a listener to be Executor#execute(Runnable) run on the given executor.
booleancancel(boolean mayInterruptIfRunning)
Attempts to cancel execution of this task.
Vget()
Waits if necessary for the computation to complete, and then retrieves its result.
booleanisCancelled()
Returns true if this task was cancelled before it completed normally.
booleanisDone()
Returns true if this task completed.