public class IntegrationTestRpcClient extends Object
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
IntegrationTestRpcClient.Cluster |
(package private) static class |
IntegrationTestRpcClient.MiniChaosMonkey |
(package private) static class |
IntegrationTestRpcClient.SimpleClient |
(package private) static class |
IntegrationTestRpcClient.TimeoutThread |
| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
BIG_PAYLOAD |
private org.apache.hadoop.conf.Configuration |
conf |
private static org.slf4j.Logger |
LOG |
private int |
numIterations |
| Constructor and Description |
|---|
IntegrationTestRpcClient() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> |
createRpcClient(org.apache.hadoop.conf.Configuration conf,
boolean isSyncClient) |
void |
testRpcWithChaosMonkey(boolean isSyncClient) |
void |
testRpcWithChaosMonkeyWithAsyncClient() |
void |
testRpcWithChaosMonkeyWithSyncClient() |
void |
testRpcWithWriteThread() |
private static final org.slf4j.Logger LOG
private final org.apache.hadoop.conf.Configuration conf
private int numIterations
static String BIG_PAYLOAD
public IntegrationTestRpcClient()
protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> createRpcClient(org.apache.hadoop.conf.Configuration conf, boolean isSyncClient)
public void testRpcWithWriteThread() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testRpcWithChaosMonkeyWithSyncClient() throws Throwable
Throwablepublic void testRpcWithChaosMonkeyWithAsyncClient() throws Throwable
Throwablepublic void testRpcWithChaosMonkey(boolean isSyncClient) throws Throwable
ThrowableCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.