Package org.rostore.v2.container.async
Class InterruptedShardOperation<R>
java.lang.Object
org.rostore.v2.container.async.InterruptedShardOperation<R>
- All Implemented Interfaces:
Future<R>
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Field Details
-
INTERRUPTED_SHARD_OPERATION
-
-
Constructor Details
-
InterruptedShardOperation
public InterruptedShardOperation()
-
-
Method Details
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceFuture<R>
-
isDone
public boolean isDone() -
get
- Specified by:
get
in interfaceFuture<R>
- Throws:
InterruptedException
-
get
- Specified by:
get
in interfaceFuture<R>
- Throws:
InterruptedException
-