Class TestMasterRegionFlush
java.lang.Object
org.apache.hadoop.hbase.master.region.TestMasterRegionFlush
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.conf.Configuration
private AtomicInteger
private org.apache.hadoop.hbase.master.region.MasterRegionFlusherAndCompactor
private AtomicLong
private AtomicLong
private org.apache.hadoop.hbase.regionserver.HRegion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
assertTriggerFlushByChanges
(int changes) private void
initFlusher
(long flushSize, long flushPerChanges, long flushIntervalMs) void
setUp()
void
tearDown()
void
void
void
-
Field Details
-
CLASS_RULE
-
conf
-
region
-
flusher
-
flushCalled
-
memstoreHeapSize
-
memstoreOffHeapSize
-
-
Constructor Details
-
TestMasterRegionFlush
public TestMasterRegionFlush()
-
-
Method Details
-
setUp
- Throws:
IOException
-
tearDown
-
initFlusher
-
testTriggerFlushBySize
- Throws:
IOException
InterruptedException
-
assertTriggerFlushByChanges
- Throws:
InterruptedException
-
testTriggerFlushByChanges
- Throws:
InterruptedException
-
testPeriodicalFlush
- Throws:
InterruptedException
-