Java org.springframework.util.concurrent ListenableFuture fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.util.concurrent ListenableFuture fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.util.concurrent ListenableFuture.

The text is from its open source code.

Implementation

org.springframework.util.concurrent.ListenableFuture has the following implementations.
Click this link to see all its implementation.

Constructor

Method

voidaddCallback(SuccessCallback successCallback, FailureCallback failureCallback)
Java 8 lambda-friendly alternative with success and failure callbacks.
voidaddCallback(ListenableFutureCallback callback)
Register the given ListenableFutureCallback .
booleancancel(boolean mayInterruptIfRunning)
Attempts to cancel execution of this task.
Vget()
Waits if necessary for the computation to complete, and then retrieves its result.
Vget(long timeout, TimeUnit unit)
Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.
booleanisCancelled()
Returns true if this task was cancelled before it completed normally.
booleanisDone()
Returns true if this task completed.