| Constructor and Description |
|---|
ReplicateFuture() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
Object |
get() |
Object |
get(long timeout,
TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
void |
releaseError(Throwable t) |
void |
releaseOk() |
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Futurepublic Object get() throws InterruptedException, ExecutionException
get in interface FutureInterruptedExceptionExecutionExceptionpublic Object get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface FutureInterruptedExceptionExecutionExceptionTimeoutExceptionpublic void releaseOk()
public void releaseError(Throwable t)
Copyright © GigaSpaces.