Class TestMasterRegionFlush
java.lang.Object
org.apache.hadoop.hbase.master.region.TestMasterRegionFlush
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate org.apache.hadoop.conf.Configurationprivate AtomicIntegerprivate org.apache.hadoop.hbase.master.region.MasterRegionFlusherAndCompactorprivate AtomicLongprivate AtomicLongprivate org.apache.hadoop.hbase.regionserver.HRegion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertTriggerFlushByChanges(int changes) private voidinitFlusher(long flushSize, long flushPerChanges, long flushIntervalMs) voidsetUp()voidtearDown()voidvoidvoid
-
Field Details
-
CLASS_RULE
-
conf
-
region
-
flusher
-
flushCalled
-
memstoreHeapSize
-
memstoreOffHeapSize
-
-
Constructor Details
-
TestMasterRegionFlush
public TestMasterRegionFlush()
-
-
Method Details
-
setUp
- Throws:
IOException
-
tearDown
-
initFlusher
-
testTriggerFlushBySize
- Throws:
IOExceptionInterruptedException
-
assertTriggerFlushByChanges
- Throws:
InterruptedException
-
testTriggerFlushByChanges
- Throws:
InterruptedException
-
testPeriodicalFlush
- Throws:
InterruptedException
-