public abstract class AbstractTestIPC extends Object
| Constructor and Description |
|---|
AbstractTestIPC() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AbstractRpcClient |
createRpcClient(Configuration conf) |
protected abstract AbstractRpcClient |
createRpcClientNoCodec(Configuration conf) |
protected abstract AbstractRpcClient |
createRpcClientRTEDuringConnectionSetup(Configuration conf) |
void |
testCompressCellBlock()
It is hard to verify the compression is actually happening under the wraps.
|
void |
testNoCodec()
Ensure we do not HAVE TO HAVE a codec.
|
void |
testRpcScheduler()
Tests that the rpc scheduler is called when requests arrive.
|
void |
testRTEDuringConnectionSetup() |
protected abstract AbstractRpcClient createRpcClientNoCodec(Configuration conf)
public void testNoCodec()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionprotected abstract AbstractRpcClient createRpcClient(Configuration conf)
public void testCompressCellBlock()
throws IOException,
InterruptedException,
SecurityException,
NoSuchMethodException,
ServiceException
IOExceptionInterruptedExceptionSecurityExceptionNoSuchMethodExceptionServiceExceptionprotected abstract AbstractRpcClient createRpcClientRTEDuringConnectionSetup(Configuration conf) throws IOException
IOExceptionpublic void testRTEDuringConnectionSetup()
throws Exception
Exceptionpublic void testRpcScheduler()
throws IOException,
InterruptedException
IOExceptionInterruptedException