org.apache.hadoop.hbase.util
Interface CancelableProgressable


@InterfaceAudience.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
 boolean progress()
          Report progress.
 

Method Detail

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


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.