Package org.apache.hadoop.hbase.nio
Class TestMultiByteBuff
java.lang.Object
org.apache.hadoop.hbase.nio.TestMultiByteBuff
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
doTestPositionalPutByteBuff
(org.apache.hadoop.hbase.nio.ByteBuff srcByteBuff) void
void
void
void
void
Test right answer though we span many sub-buffers.void
void
void
void
void
void
void
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
-
Constructor Details
-
TestMultiByteBuff
public TestMultiByteBuff()
-
-
Method Details
-
testGetShort
Test right answer though we span many sub-buffers. -
testWritesAndReads
-
testPutPrimitives
-
testArrayBasedMethods
-
testMarkAndResetWithMBB
-
testSkipNBytes
-
testMoveBack
-
testSubBuffer
-
testSliceDuplicateMethods
- Throws:
Exception
-
testGetWithPosOnMultiBuffers
- Throws:
IOException
-
testGetIntStrictlyForwardWithPosOnMultiBuffers
- Throws:
IOException
-
testPositonalCopyToByteArray
- Throws:
Exception
-
testToBytes
- Throws:
Exception
-
testHasRemaining
-
testGetPrimitivesWithSmallIndividualBBs
-
testGetByteBufferWithOffsetAndPos
-
testPositionalPutByteBuff
- Throws:
Exception
-
doTestPositionalPutByteBuff
private void doTestPositionalPutByteBuff(org.apache.hadoop.hbase.nio.ByteBuff srcByteBuff) throws Exception - Throws:
Exception
-
testPositionalPutByte
- Throws:
Exception
-