public interface Cancelable
Modifier and Type | Method and Description |
---|---|
void |
cancel(boolean mayInterruptIfRunning)
Attempts to cancel execution of this task.
|
void cancel(boolean mayInterruptIfRunning)
mayInterruptIfRunning
- true if the thread executing this
task should be interrupted; otherwise, in-progress tasks are allowed
to completeCopyright © 2015 Oracle Corporation. All rights reserved.