public interface LocalCancellableTask extends CancellableTask, TaskIdHolder
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels the running task.
|
wasCancelled
getTaskId
void cancel()
CancellableTask.wasCancelled()
will return true. Actually this call cancels the
task's current Future
and enforces a CancellationException
to be thrown.Copyright © 2014 EsprIT-Systems. All Rights Reserved.