Package org.apache.hadoop.hbase.util
Interface CancelableProgressable
- All Known Implementing Classes:
FanOutOneBlockAsyncDFSOutputHelper.CancelOnClose
Similar interface as
Progressable
but returns a boolean to support
canceling the operation.
Used for doing updating of OPENING znode during log replay on region open.-
Method Summary
-
Method Details
-
progress
boolean progress()Report progress. Returns true if operations should continue, false if the operation should be canceled and rolled back.- Returns:
- whether to continue (true) or cancel (false) the operation
-