public class MockServer extends Object
| Constructor and Description | 
|---|
MockServer()  | 
MockServer(HBaseTestingUtility htu)  | 
MockServer(HBaseTestingUtility htu,
          boolean zkw)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
abort(String why,
     Throwable e)  | 
ChoreService | 
getChoreService()  | 
Configuration | 
getConfiguration()  | 
ClusterConnection | 
getConnection()  | 
CoordinatedStateManager | 
getCoordinatedStateManager()  | 
MetaTableLocator | 
getMetaTableLocator()  | 
ServerName | 
getServerName()  | 
ZooKeeperWatcher | 
getZooKeeper()  | 
boolean | 
isAborted()  | 
boolean | 
isStopped()  | 
void | 
stop(String why)  | 
public MockServer()
           throws ZooKeeperConnectionException,
                  IOException
ZooKeeperConnectionExceptionIOExceptionpublic MockServer(HBaseTestingUtility htu)
           throws ZooKeeperConnectionException,
                  IOException
ZooKeeperConnectionExceptionIOExceptionpublic MockServer(HBaseTestingUtility htu,
                  boolean zkw)
           throws ZooKeeperConnectionException,
                  IOException
htu - Testing utility to usezkw - If true, create a zkw.ZooKeeperConnectionExceptionIOExceptionpublic void stop(String why)
public boolean isStopped()
public Configuration getConfiguration()
public ZooKeeperWatcher getZooKeeper()
public CoordinatedStateManager getCoordinatedStateManager()
public ClusterConnection getConnection()
public MetaTableLocator getMetaTableLocator()
public ServerName getServerName()
public boolean isAborted()
public ChoreService getChoreService()