public class TestStripeCompactionPolicy extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
usePrivateReaders |
Constructor and Description |
---|
TestStripeCompactionPolicy() |
Modifier and Type | Method and Description |
---|---|
static Iterable<Object[]> |
data() |
void |
testExistingStripesFromL0() |
void |
testInitialCountFromL0() |
void |
testMergeExpiredFiles() |
void |
testMergeExpiredStripes() |
void |
testNewStripesFromFlush() |
void |
testNoStripesFromFlush() |
void |
testNothingToCompactFromL0() |
void |
testOldStripesFromFlush() |
void |
testSingleStripeCompaction() |
void |
testSingleStripeDropDeletes() |
void |
testSplitOffStripe() |
void |
testSplitOffStripeDropDeletes() |
void |
testSplitOffStripeOffPeak() |
void |
testWithParallelCompaction() |
void |
testWithReferences() |
protected void |
verifyFlush(StripeCompactionPolicy policy,
StripeCompactionPolicy.StripeInformationProvider si,
KeyValue[] input,
KeyValue[][] expected,
byte[][] boundaries)
Verify arbitrary flush.
|
public void testSingleStripeCompaction() throws Exception
Exception
public void testWithParallelCompaction() throws Exception
Exception
public void testExistingStripesFromL0() throws Exception
Exception
public void testNothingToCompactFromL0() throws Exception
Exception
public void testSplitOffStripeOffPeak() throws Exception
Exception
public void testSplitOffStripeDropDeletes() throws Exception
Exception
public void testSingleStripeDropDeletes() throws Exception
Exception
protected void verifyFlush(StripeCompactionPolicy policy, StripeCompactionPolicy.StripeInformationProvider si, KeyValue[] input, KeyValue[][] expected, byte[][] boundaries) throws IOException
IOException