static class TestWALLockup.DummyServer extends Object implements org.apache.hadoop.hbase.Server
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.conf.Configuration |
conf |
private boolean |
isAborted |
private String |
serverName |
Constructor and Description |
---|
DummyServer(org.apache.hadoop.conf.Configuration conf,
String serverName) |
Modifier and Type | Method and Description |
---|---|
void |
abort(String why,
Throwable e) |
org.apache.hadoop.hbase.client.Connection |
createConnection(org.apache.hadoop.conf.Configuration conf) |
org.apache.hadoop.hbase.ChoreService |
getChoreService() |
org.apache.hadoop.hbase.client.ClusterConnection |
getClusterConnection() |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
org.apache.hadoop.hbase.client.ClusterConnection |
getConnection() |
org.apache.hadoop.hbase.CoordinatedStateManager |
getCoordinatedStateManager() |
org.apache.hadoop.fs.FileSystem |
getFileSystem() |
org.apache.hadoop.hbase.zookeeper.MetaTableLocator |
getMetaTableLocator() |
org.apache.hadoop.hbase.ServerName |
getServerName() |
org.apache.hadoop.hbase.zookeeper.ZKWatcher |
getZooKeeper() |
boolean |
isAborted() |
boolean |
isStopped() |
boolean |
isStopping() |
void |
stop(String why) |
private org.apache.hadoop.conf.Configuration conf
private String serverName
private boolean isAborted
public DummyServer(org.apache.hadoop.conf.Configuration conf, String serverName)
public org.apache.hadoop.conf.Configuration getConfiguration()
getConfiguration
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.hbase.zookeeper.ZKWatcher getZooKeeper()
getZooKeeper
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.hbase.CoordinatedStateManager getCoordinatedStateManager()
getCoordinatedStateManager
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.hbase.client.ClusterConnection getConnection()
getConnection
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.hbase.zookeeper.MetaTableLocator getMetaTableLocator()
getMetaTableLocator
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.hbase.ServerName getServerName()
getServerName
in interface org.apache.hadoop.hbase.Server
public void abort(String why, Throwable e)
abort
in interface org.apache.hadoop.hbase.Abortable
public boolean isAborted()
isAborted
in interface org.apache.hadoop.hbase.Abortable
public boolean isStopped()
isStopped
in interface org.apache.hadoop.hbase.Stoppable
public org.apache.hadoop.hbase.ChoreService getChoreService()
getChoreService
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.hbase.client.ClusterConnection getClusterConnection()
getClusterConnection
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.fs.FileSystem getFileSystem()
getFileSystem
in interface org.apache.hadoop.hbase.Server
public boolean isStopping()
isStopping
in interface org.apache.hadoop.hbase.Server
public org.apache.hadoop.hbase.client.Connection createConnection(org.apache.hadoop.conf.Configuration conf) throws IOException
createConnection
in interface org.apache.hadoop.hbase.Server
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.