Package org.apache.hadoop.hbase.util
Class TestLossyCounting
java.lang.Object
org.apache.hadoop.hbase.util.TestLossyCounting
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private final org.apache.hadoop.conf.Configuration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
private void
waitForSweep
(org.apache.hadoop.hbase.util.LossyCounting<?> lossyCounting)
-
Field Details
-
CLASS_RULE
-
conf
-
-
Constructor Details
-
TestLossyCounting
public TestLossyCounting()
-
-
Method Details
-
testBucketSize
-
testAddByOne
-
testSweep1
- Throws:
Exception
-
waitForSweep
private void waitForSweep(org.apache.hadoop.hbase.util.LossyCounting<?> lossyCounting) throws InterruptedException - Throws:
InterruptedException
-
testSweep2
- Throws:
Exception
-