@InterfaceAudience.Private public interface FlushRequester
Modifier and Type | Method and Description |
---|---|
void |
registerFlushRequestListener(FlushRequestListener listener)
Register a FlushRequestListener
|
void |
requestDelayedFlush(HRegion region,
long delay)
Tell the listener the cache needs to be flushed after a delay
|
void |
requestFlush(HRegion region)
Tell the listener the cache needs to be flushed.
|
void |
setGlobalMemstoreLimit(long globalMemStoreSize)
Sets the global memstore limit to a new size.
|
boolean |
unregisterFlushRequestListener(FlushRequestListener listener)
Unregister the given FlushRequestListener
|
void requestFlush(HRegion region)
region
- the HRegion requesting the cache flushvoid requestDelayedFlush(HRegion region, long delay)
region
- the HRegion requesting the cache flushdelay
- after how much time should the flush happenvoid registerFlushRequestListener(FlushRequestListener listener)
listener
- boolean unregisterFlushRequestListener(FlushRequestListener listener)
listener
- void setGlobalMemstoreLimit(long globalMemStoreSize)
globalMemStoreSize
- Copyright © 2015 The Apache Software Foundation. All rights reserved.