
public interface WaarpFutureInterface
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitOrInterruptible() |
boolean |
awaitOrInterruptible(long timeoutMilliseconds) |
boolean |
awaitOrInterruptible(long timeout,
TimeUnit unit) |
boolean |
cancel() |
Throwable |
getCause() |
boolean |
isCancelled() |
boolean |
isDone() |
boolean |
isFailed() |
boolean |
isSuccess() |
void |
reset() |
WaarpFutureInterface |
rethrowIfFailed() |
boolean |
setFailure(Throwable cause) |
boolean |
setSuccess() |
boolean isDone()
boolean isSuccess()
boolean isFailed()
Throwable getCause()
boolean isCancelled()
WaarpFutureInterface rethrowIfFailed() throws Exception
Exceptionboolean awaitOrInterruptible()
boolean awaitOrInterruptible(long timeoutMilliseconds)
boolean awaitOrInterruptible(long timeout,
TimeUnit unit)
boolean setSuccess()
boolean setFailure(Throwable cause)
boolean cancel()
void reset()
Copyright © 2009–2022 Waarp. All rights reserved.