Package com.gigaspaces.async
Class AsyncTransformFuture<R>
java.lang.Object
com.gigaspaces.async.AsyncTransformFuture<R>
- All Implemented Interfaces:
AsyncFuture,Future
-
Constructor Summary
ConstructorsConstructorDescriptionAsyncTransformFuture(RemoteOperationFutureListener<UnregisterDurableTaskSpaceOperationResult> asyncFuture) -
Method Summary
Modifier and TypeMethodDescriptionbooleancancel(boolean mayInterruptIfRunning) get()booleanbooleanisDone()voidsetListener(AsyncFutureListener listener)
-
Constructor Details
-
AsyncTransformFuture
public AsyncTransformFuture(RemoteOperationFutureListener<UnregisterDurableTaskSpaceOperationResult> asyncFuture)
-
-
Method Details
-
setListener
- Specified by:
setListenerin interfaceAsyncFuture<R>
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceFuture<R>
-
isDone
public boolean isDone() -
get
- Specified by:
getin interfaceFuture<R>- Throws:
InterruptedExceptionExecutionException
-
get
public Object get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
getin interfaceFuture<R>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-