Package org.apache.hadoop.hbase.ipc
Class TestBufferChain
java.lang.Object
org.apache.hadoop.hbase.ipc.TestBufferChain
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[][]
private File
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
assertNoRemaining
(ByteBuffer[] bufs) void
setup()
private ByteBuffer
void
teardown()
void
void
private ByteBuffer[]
wrapArrays
(byte[][] arrays) private void
writeAndVerify
(org.apache.hadoop.hbase.ipc.BufferChain chain, String string)
-
Field Details
-
CLASS_RULE
-
tmpFile
-
HELLO_WORLD_CHUNKS
-
-
Constructor Details
-
TestBufferChain
public TestBufferChain()
-
-
Method Details
-
setup
- Throws:
IOException
-
teardown
-
testGetBackBytesWePutIn
-
testLimitOffset
- Throws:
IOException
-
stringBuf
-
assertNoRemaining
-
wrapArrays
-
writeAndVerify
private void writeAndVerify(org.apache.hadoop.hbase.ipc.BufferChain chain, String string) throws IOException - Throws:
IOException
-