public interface Cancellation
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
getCancel()
When set to  
true attempts to cancel a long running operation. | 
void | 
setCancel(boolean value)
When set to  
true attempts to cancel a long running operation. | 
boolean getCancel()
true attempts to cancel a long running operation.
 
  The value must be set by a thread other than the thread running the operation to be cancelled.void setCancel(boolean value)
true attempts to cancel a long running operation.
 
  The value must be set by a thread other than the thread running the operation to be cancelled.Copyright © 2021. All rights reserved.