Cancellable future implementation.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public CancelFuture | cancel()
Implements org. Attempts to cancel the operation. |
| protected CancelFuture | createCancellation()
Overrides org. Creates a |
| public CancelFuture | getCancellation()
Implements org. Retrieves the |
| public Throwable | getException()
Implements org. Returns the cause of the failure. |
| public boolean | isCanceled()
Implements org. Tells whether this operation was canceled. |
| public void | setException(Throwable
The exception)Throwable to set; must be non-nullImplements org. Sets the exception that caused the operation to fail. |
| DefaultCancellableSshFuture | back to summary |
|---|---|
| protected DefaultCancellableSshFuture(Object id, Object lock) | |
| cancel | back to summary |
|---|---|
| public CancelFuture cancel() Implements org. Doc from org. Attempts to cancel the operation.
| |
| createCancellation | back to summary |
|---|---|
| protected CancelFuture createCancellation() Overrides org. Doc from org. Creates a This doesn't cancel this future yet.
| |
| getCancellation | back to summary |
|---|---|
| public CancelFuture getCancellation() Implements org. Doc from org. Retrieves the
| |
| getException | back to summary |
|---|---|
| public Throwable getException() Implements org. Doc from org. Returns the cause of the failure. | |
| isCanceled | back to summary |
|---|---|
| public boolean isCanceled() Implements org. Doc from org. Tells whether this operation was canceled.
| |
| setException | back to summary |
|---|---|
| public void setException(Throwable exception) Implements org. Doc from org. Sets the exception that caused the operation to fail.
If the | |