Package org.apache.hadoop.hbase.io
Class TestByteBuffAllocator
java.lang.Object
org.apache.hadoop.hbase.io.TestByteBuffAllocator
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
void
void
void
Tests that we only call the logic in checkRefCount for ByteBuff's that have a non-NONE recycler.void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
-
Constructor Details
-
TestByteBuffAllocator
public TestByteBuffAllocator()
-
-
Method Details
-
testRecycleOnlyPooledBuffers
-
testAllocateByteBuffToReadInto
-
testNegativeAllocatedSize
-
testAllocateOneBuffer
-
testReferenceCount
-
testReverseRef
-
testByteBuffUnsupportedMethods
-
assertException
-
testDeprecatedConfigs
-
testHeapAllocationRatio
-
testCheckRefCountOnlyWithRecycler
Tests that we only call the logic in checkRefCount for ByteBuff's that have a non-NONE recycler.
-