Interface CancelableProgressable

All Known Implementing Classes:
FanOutOneBlockAsyncDFSOutputHelper.CancelOnClose

@Private public interface CancelableProgressable
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

    Modifier and Type
    Method
    Description
    boolean
    Report progress.
  • 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