private static class TestHeapMemoryManager.MemstoreFlusherStub extends Object implements org.apache.hadoop.hbase.regionserver.FlushRequester
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.hadoop.hbase.regionserver.FlushType |
flushType |
(package private) org.apache.hadoop.hbase.regionserver.FlushRequestListener |
listener |
(package private) long |
memstoreSize |
Constructor and Description |
---|
MemstoreFlusherStub(long memstoreSize) |
Modifier and Type | Method and Description |
---|---|
void |
registerFlushRequestListener(org.apache.hadoop.hbase.regionserver.FlushRequestListener listener) |
boolean |
requestDelayedFlush(org.apache.hadoop.hbase.regionserver.HRegion region,
long delay,
boolean forceFlushAllStores) |
boolean |
requestFlush(org.apache.hadoop.hbase.regionserver.HRegion region,
boolean forceFlushAllStores,
org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) |
void |
setGlobalMemStoreLimit(long globalMemStoreSize) |
boolean |
unregisterFlushRequestListener(org.apache.hadoop.hbase.regionserver.FlushRequestListener listener) |
long memstoreSize
org.apache.hadoop.hbase.regionserver.FlushRequestListener listener
org.apache.hadoop.hbase.regionserver.FlushType flushType
public MemstoreFlusherStub(long memstoreSize)
public boolean requestFlush(org.apache.hadoop.hbase.regionserver.HRegion region, boolean forceFlushAllStores, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker)
requestFlush
in interface org.apache.hadoop.hbase.regionserver.FlushRequester
public boolean requestDelayedFlush(org.apache.hadoop.hbase.regionserver.HRegion region, long delay, boolean forceFlushAllStores)
requestDelayedFlush
in interface org.apache.hadoop.hbase.regionserver.FlushRequester
public void registerFlushRequestListener(org.apache.hadoop.hbase.regionserver.FlushRequestListener listener)
registerFlushRequestListener
in interface org.apache.hadoop.hbase.regionserver.FlushRequester
public boolean unregisterFlushRequestListener(org.apache.hadoop.hbase.regionserver.FlushRequestListener listener)
unregisterFlushRequestListener
in interface org.apache.hadoop.hbase.regionserver.FlushRequester
public void setGlobalMemStoreLimit(long globalMemStoreSize)
setGlobalMemStoreLimit
in interface org.apache.hadoop.hbase.regionserver.FlushRequester
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.