public interface AsyncOperation
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean mayInterruptIfRunning)
Cancels the running task.
|
void |
release()
Release resources used by the operation, including cancellation.
|
boolean cancel(boolean mayInterruptIfRunning)
mayInterruptIfRunning
- true if the thread executing this task should be interrupted;
otherwise, in-progress tasks are allowed to completevoid release()
Copyright © 2019 Eclipse JGit Project. All rights reserved.