org.apache.hadoop.hbase
Interface Abortable

All Known Subinterfaces:
HConnection, HRegionInterface, Server
All Known Implementing Classes:
HBaseAdmin, HMaster, HMasterCommandLine.LocalHMaster, HRegionServer, ReplicationLogCleaner, ZooKeeperWatcher

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.
 

Method Detail

abort

void abort(String why,
           Throwable e)
Abort the server or client.

Parameters:
why - Why we're aborting.
e - Throwable that caused abort. Can be null.


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