Package org.apache.hadoop.hbase
Interface Abortable
- All Known Subinterfaces:
Admin
,Connection
,Hbck
,MasterServices
,RegionServerServices
,Server
- All Known Implementing Classes:
AdminOverAsyncAdmin
,BackupHFileCleaner
,ConnectionOverAsyncConnection
,HBaseHbck
,HBaseInterClusterReplicationEndpoint
,HBaseReplicationEndpoint
,HBaseServerBase
,HMaster
,HMasterCommandLine.LocalHMaster
,HRegionServer
,LogRollBackupSubprocedurePool
,MiniHBaseCluster.MiniHBaseClusterRegionServer
,ReplicationSyncUp.DummyServer
,SharedConnection
,ThriftAdmin
,ThriftConnection
,ZKWatcher
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
-
Method Details
-
abort
Abort the server or client.- Parameters:
why
- Why we're aborting.e
- Throwable that caused abort. Can be null.
-
abort
It just calls another abort method and the Throwable parameter is null.- Parameters:
why
- Why we're aborting.- See Also:
-
isAborted
boolean isAborted()Check if the server or client was aborted.- Returns:
- true if the server or client was aborted, false otherwise
-