Package org.apache.hadoop.hbase.io
Class TestByteBuffAllocator
java.lang.Object
org.apache.hadoop.hbase.io.TestByteBuffAllocator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidvoidvoidvoidTests that we only call the logic in checkRefCount for ByteBuff's that have a non-NONE recycler.voidvoidvoidvoidvoidvoid
-
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.
-