Class TestCodecPool
java.lang.Object
org.apache.hadoop.hbase.io.compress.TestCodecPool
Along with CodecPool, this is copied from the class of the same name in hadoop-common. Modified
to accommodate changes to HBase's CodecPool.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) org.apache.hadoop.io.compress.DefaultCodec
private final String
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CLASS_RULE
-
LEASE_COUNT_ERR
- See Also:
-
codec
org.apache.hadoop.io.compress.DefaultCodec codec
-
-
Constructor Details
-
TestCodecPool
public TestCodecPool()
-
-
Method Details
-
beforeClass
-
setup
-
testCompressorPoolCounts
-
testCompressorNotReturnSameInstance
-
testDecompressorPoolCounts
-
testMultiThreadedCompressorPool
- Throws:
InterruptedException
-
testMultiThreadedDecompressorPool
- Throws:
InterruptedException
-
testDecompressorNotReturnSameInstance
-
testDoNotPoolDecompressorNotUseableAfterReturn
- Throws:
Exception
-