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

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

Introduction

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

The text is from its open source code.

Constructor

ListenableFutureTask(Callable callable)
Create a new ListenableFutureTask that will, upon running, execute the given Callable .

Method

voidaddCallback(ListenableFutureCallback callback)
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.