|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AsyncOperation
Asynchronous operation handle. Callers that start an asynchronous operation are supplied with a handle that may be used to attempt cancellation of the operation if the caller does not wish to continue.
| Method Summary | |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning)
Cancels the running task. |
void |
release()
Release resources used by the operation, including cancellation. |
| Method Detail |
|---|
boolean cancel(boolean mayInterruptIfRunning)
mayInterruptIfRunning - true if the thread executing this task should be interrupted;
otherwise, in-progress tasks are allowed to complete
void release()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||