public interface Canceler
Modifier and Type | Method and Description |
---|---|
boolean |
isCancelationRequested()
Returns whether or not a request for cancelation has been issued on any thread.
|
void |
requestCancelation()
Request that a currently running computation be canceled.
|
void requestCancelation()
Threading considerations: This method may be called on any thread.
boolean isCancelationRequested()
Threading considerations: This method may be called on any thread.
true
if there has been a call to requestCancelation()
;
false
otherwise.Copyright © 2024 levigo holding gmbh. All rights reserved.