Class FanOutOneBlockAsyncDFSOutputHelper.CancelOnClose

java.lang.Object
org.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutputHelper.CancelOnClose
All Implemented Interfaces:
CancelableProgressable
Enclosing class:
FanOutOneBlockAsyncDFSOutputHelper

  • Field Details

    • client

      private final org.apache.hadoop.hdfs.DFSClient client
  • Constructor Details

    • CancelOnClose

      public CancelOnClose(org.apache.hadoop.hdfs.DFSClient client)
  • Method Details

    • progress

      public boolean progress()
      Description copied from interface: CancelableProgressable
      Report progress. Returns true if operations should continue, false if the operation should be canceled and rolled back.
      Specified by:
      progress in interface CancelableProgressable
      Returns:
      whether to continue (true) or cancel (false) the operation