class IntegrationTestRpcClient.Cluster extends Object
Modifier and Type | Field and Description |
---|---|
(package private) ReadWriteLock |
lock |
(package private) int |
maxServers |
(package private) int |
minServers |
(package private) HashMap<InetSocketAddress,org.apache.hadoop.hbase.ipc.RpcServer> |
rpcServers |
(package private) List<org.apache.hadoop.hbase.ipc.RpcServer> |
serverList |
Constructor and Description |
---|
Cluster(int minServers,
int maxServers) |
Modifier and Type | Method and Description |
---|---|
(package private) org.apache.hadoop.hbase.ipc.RpcServer |
getRandomServer() |
(package private) org.apache.hadoop.hbase.ipc.RpcServer |
startServer() |
(package private) void |
stopRandomServer() |
(package private) void |
stopRunning() |
(package private) void |
stopServer(org.apache.hadoop.hbase.ipc.RpcServer rpcServer) |
ReadWriteLock lock
HashMap<InetSocketAddress,org.apache.hadoop.hbase.ipc.RpcServer> rpcServers
List<org.apache.hadoop.hbase.ipc.RpcServer> serverList
int maxServers
int minServers
Cluster(int minServers, int maxServers)
org.apache.hadoop.hbase.ipc.RpcServer startServer() throws IOException
IOException
void stopRandomServer() throws Exception
Exception
void stopServer(org.apache.hadoop.hbase.ipc.RpcServer rpcServer) throws InterruptedException
InterruptedException
void stopRunning() throws InterruptedException
InterruptedException
org.apache.hadoop.hbase.ipc.RpcServer getRandomServer()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.