Class Cancellation
java.lang.Object
org.apache.jackrabbit.oak.segment.file.cancel.Cancellation
The result of a check for a pending cancellation request.
- 
Method SummaryModifier and TypeMethodDescriptionIf cancellation has been requested (i.e.booleanReturnstrueif cancellation has been requested,falseotherwise.
- 
Method Details- 
isCancelledpublic boolean isCancelled()Returnstrueif cancellation has been requested,falseotherwise.
- 
getReasonIf cancellation has been requested (i.e. ifisCancelled()istrue), returns the reason of the cancellation as provided by the user. Otherwise, an emptyOptionalis returned.
 
-