Package com.bayesserver
Interface Cancellation
-
- All Known Implementing Classes:
DefaultCancellation
public interface CancellationInterface for cancelling long running operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetCancel()When set totrueattempts to cancel a long running operation.voidsetCancel(boolean value)When set totrueattempts to cancel a long running operation.
-
-
-
Method Detail
-
getCancel
boolean getCancel()
When set totrueattempts to cancel a long running operation. The value must be set by a thread other than the thread running the operation to be cancelled.
-
setCancel
void setCancel(boolean value)
When set totrueattempts to cancel a long running operation. The value must be set by a thread other than the thread running the operation to be cancelled.
-
-