Class CompletedFuture<T>
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.groups.CompletedFuture<T>
- All Implemented Interfaces:
Future<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface Future
Future.State -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Future
exceptionNow, resultNow, state
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CompletedFuture
public CompletedFuture()
-
-
Method Details
-
cancel
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceFuture<T>
-
isDone
-
get
- Specified by:
getin interfaceFuture<T>- Throws:
InterruptedExceptionExecutionException
-
get
public T get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
getin interfaceFuture<T>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-