Package org.apache.hadoop.hbase.ipc
Class TestBufferChain
java.lang.Object
org.apache.hadoop.hbase.ipc.TestBufferChain
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[][]private File
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidassertNoRemaining(ByteBuffer[] bufs) voidsetup()private ByteBuffervoidteardown()voidvoidprivate ByteBuffer[]wrapArrays(byte[][] arrays) private voidwriteAndVerify(org.apache.hadoop.hbase.ipc.BufferChain chain, String string) 
- 
Field Details- 
CLASS_RULE
- 
tmpFile
- 
HELLO_WORLD_CHUNKS
 
- 
- 
Constructor Details- 
TestBufferChainpublic TestBufferChain()
 
- 
- 
Method Details- 
setup- Throws:
- IOException
 
- 
teardown
- 
testGetBackBytesWePutIn
- 
testLimitOffset- Throws:
- IOException
 
- 
stringBuf
- 
assertNoRemaining
- 
wrapArrays
- 
writeAndVerifyprivate void writeAndVerify(org.apache.hadoop.hbase.ipc.BufferChain chain, String string) throws IOException - Throws:
- IOException
 
 
-