@InterfaceAudience.Private
public interface Abortable
This is used primarily for ZooKeeper usage when we could get an unexpected and fatal exception, requiring an abort.
Implemented by the Master, RegionServer, and TableServers (client).
void abort(String why, Throwable e)
why
- Why we're aborting.e
- Throwable that caused abort. Can be null.boolean isAborted()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.