Class TestHeapMemoryManager.MemstoreFlusherStub
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestHeapMemoryManager.MemstoreFlusherStub
- All Implemented Interfaces:
org.apache.hadoop.hbase.regionserver.FlushRequester
- Enclosing class:
- TestHeapMemoryManager
private static class TestHeapMemoryManager.MemstoreFlusherStub
extends Object
implements org.apache.hadoop.hbase.regionserver.FlushRequester
-
Field Summary
Modifier and TypeFieldDescription(package private) org.apache.hadoop.hbase.regionserver.FlushType
(package private) org.apache.hadoop.hbase.regionserver.FlushRequestListener
(package private) long
-
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 delay) 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
-
memstoreSize
long memstoreSize -
listener
org.apache.hadoop.hbase.regionserver.FlushRequestListener listener -
flushType
org.apache.hadoop.hbase.regionserver.FlushType flushType
-
-
Constructor Details
-
MemstoreFlusherStub
-
-
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
-