Cancellable that has a dependency on another Cancellable
process or operation. Dependent process or operation will get cancelled
if this Cancellable itself is cancelled.
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicMarkableReference |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | cancel()
Implements org. |
| public boolean | isCancelled()
Implements org. |
| public void | setDependency(final Cancellable dependency)
Implements org. Cancellable dependency on another ongoing process or
operation represented by Cancellable.
|
| dependencyRef | back to summary |
|---|---|
| private final AtomicMarkableReference<Cancellable> dependencyRef | |
| ComplexCancellable | back to summary |
|---|---|
| public ComplexCancellable() | |
| cancel | back to summary |
|---|---|
| public boolean cancel() Implements org. Doc from org. Cancels the ongoing operation or process.
| |
| isCancelled | back to summary |
|---|---|
| public boolean isCancelled() Implements org. Doc from org. Determines whether the process or operation has been cancelled.
| |
| setDependency | back to summary |
|---|---|
| public void setDependency(final Cancellable dependency) Implements org. Doc from org. Sets
| |