|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix"}) @InterfaceStability.Evolving public interface Abortable
Interface to support the aborting of a given server or client.
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).
Method Summary | |
---|---|
void |
abort(String why,
Throwable e)
Abort the server or client. |
boolean |
isAborted()
Check if the server or client was aborted. |
Method Detail |
---|
void abort(String why, Throwable e)
why
- Why we're aborting.e
- Throwable that caused abort. Can be null.boolean isAborted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |