Class AbstractTestWALReplay.TestFlusher
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.AbstractTestWALReplay.TestFlusher
- All Implemented Interfaces:
org.apache.hadoop.hbase.regionserver.FlushRequester
- Enclosing class:
- AbstractTestWALReplay
static class AbstractTestWALReplay.TestFlusher
extends Object
implements org.apache.hadoop.hbase.regionserver.FlushRequester
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerFlushRequestListener
(org.apache.hadoop.hbase.regionserver.FlushRequestListener listener) boolean
requestDelayedFlush
(org.apache.hadoop.hbase.regionserver.HRegion region, long when) boolean
requestFlush
(org.apache.hadoop.hbase.regionserver.HRegion region, List<byte[]> families, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) boolean
requestFlush
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) void
setGlobalMemStoreLimit
(long globalMemStoreSize) boolean
unregisterFlushRequestListener
(org.apache.hadoop.hbase.regionserver.FlushRequestListener listener)
-
Field Details
-
r
-
-
Constructor Details
-
TestFlusher
-
-
Method Details
-
requestFlush
public boolean requestFlush(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) - Specified by:
requestFlush
in interfaceorg.apache.hadoop.hbase.regionserver.FlushRequester
-
requestFlush
public boolean requestFlush(org.apache.hadoop.hbase.regionserver.HRegion region, List<byte[]> families, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) - Specified by:
requestFlush
in interfaceorg.apache.hadoop.hbase.regionserver.FlushRequester
-
requestDelayedFlush
- Specified by:
requestDelayedFlush
in interfaceorg.apache.hadoop.hbase.regionserver.FlushRequester
-
registerFlushRequestListener
public void registerFlushRequestListener(org.apache.hadoop.hbase.regionserver.FlushRequestListener listener) - Specified by:
registerFlushRequestListener
in interfaceorg.apache.hadoop.hbase.regionserver.FlushRequester
-
unregisterFlushRequestListener
public boolean unregisterFlushRequestListener(org.apache.hadoop.hbase.regionserver.FlushRequestListener listener) - Specified by:
unregisterFlushRequestListener
in interfaceorg.apache.hadoop.hbase.regionserver.FlushRequester
-
setGlobalMemStoreLimit
- Specified by:
setGlobalMemStoreLimit
in interfaceorg.apache.hadoop.hbase.regionserver.FlushRequester
-