static class TestSplitLogWorker.DummyServer extends Object implements org.apache.hadoop.hbase.Server
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.CoordinatedStateManager |
cm |
private org.apache.hadoop.conf.Configuration |
conf |
private org.apache.hadoop.hbase.zookeeper.ZKWatcher |
zkw |
Constructor and Description |
---|
DummyServer(org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw,
org.apache.hadoop.conf.Configuration conf) |
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.ServerName |
getServerName() |
org.apache.hadoop.hbase.zookeeper.ZKWatcher |
getZooKeeper() |
boolean |
isAborted() |
boolean |
isStopped() |
boolean |
isStopping() |
void |
stop(String why) |
private org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw
private org.apache.hadoop.conf.Configuration conf
private org.apache.hadoop.hbase.CoordinatedStateManager cm
public DummyServer(org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw, org.apache.hadoop.conf.Configuration conf)
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.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.ServerName getServerName()
getServerName
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.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–2021 The Apache Software Foundation. All rights reserved.