| Modifier and Type | Field and Description |
|---|---|
| protected static final FutureTask | |
| protected static final FutureTask | |
| protected final boolean | |
| protected final Runnable | |
| protected Thread | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public final void | dispose()
Implements io. |
| public Runnable | getWrappedRunnable()
Implements io. |
| public final boolean | isDisposed()
Implements io. |
| public final void | |
| public String | toString()
Overrides java. |
| DISPOSED | back to summary |
|---|---|
| protected static final FutureTask<Void> DISPOSED | |
| FINISHED | back to summary |
|---|---|
| protected static final FutureTask<Void> FINISHED | |
| interruptOnCancel | back to summary |
|---|---|
| protected final boolean interruptOnCancel | |
| runnable | back to summary |
|---|---|
| protected final Runnable runnable | |
| runner | back to summary |
|---|---|
| protected Thread runner | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| AbstractDirectTask | back to summary |
|---|---|
| pack-priv AbstractDirectTask(Runnable runnable, boolean interruptOnCancel) | |
| cancelFuture | back to summary |
|---|---|
| private void cancelFuture(Future<?> future) | |
| dispose | back to summary |
|---|---|
| public final void dispose() Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| getWrappedRunnable | back to summary |
|---|---|
| public Runnable getWrappedRunnable() Implements io. Doc from io. Returns the wrapped action. | |
| isDisposed | back to summary |
|---|---|
| public final boolean isDisposed() Implements io. Doc from io. Returns true if this resource has been disposed.
| |
| setFuture | back to summary |
|---|---|
| public final void setFuture(Future<?> future) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the String representation of the current value. | |