Class AsyncTransformFuture<R>
java.lang.Object
com.gigaspaces.async.AsyncTransformFuture<R>
- All Implemented Interfaces:
AsyncFuture, Future
-
Nested Class Summary
Nested classes/interfaces inherited from interface Future
Future.State -
Constructor Summary
ConstructorsConstructorDescriptionAsyncTransformFuture(RemoteOperationFutureListener<UnregisterDurableTaskSpaceOperationResult> asyncFuture) -
Method Summary
Modifier and TypeMethodDescriptionbooleancancel(boolean mayInterruptIfRunning) get()booleanbooleanisDone()voidsetListener(AsyncFutureListener listener) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Future
exceptionNow, resultNow, state
-
Constructor Details
-
AsyncTransformFuture
public AsyncTransformFuture(RemoteOperationFutureListener<UnregisterDurableTaskSpaceOperationResult> asyncFuture)
-
-
Method Details
-
setListener
- Specified by:
setListenerin interfaceAsyncFuture<R>
-
cancel
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceFuture<R>
-
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
-