Results which translate from one type to another.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | setCancelled()
Implements org. Acknowledge the cancellation of this operation. |
| public boolean | setException(final IOException
the exception to set exception)Implements org. Set the exception for this operation. |
| public boolean | setResult(final T
the result to set result)Implements org. Set the result for this operation. |
| protected abstract O |
| output | back to summary |
|---|---|
| private final Result<O> output | |
| TranslatingResult | back to summary |
|---|---|
| protected TranslatingResult(final Result<O> output) | |
| setCancelled | back to summary |
|---|---|
| public boolean setCancelled() Implements org. Doc from org. Acknowledge the cancellation of this operation.
| |
| setException | back to summary |
|---|---|
| public boolean setException(final IOException exception) Implements org. Doc from org. Set the exception for this operation. Any threads blocking on this instance will be unblocked.
| |
| setResult | back to summary |
|---|---|
| public boolean setResult(final T result) Implements org. Doc from org. Set the result for this operation. Any threads blocking on this instance will be unblocked.
| |
| translate | back to summary |
|---|---|
| protected abstract O translate(T input) throws IOException | |