@InterfaceAudience.Private public interface FlushRequester
| Modifier and Type | Method and Description | 
|---|---|
| void | registerFlushRequestListener(FlushRequestListener listener)Register a FlushRequestListener | 
| boolean | requestDelayedFlush(HRegion region,
                   long delay)Tell the listener the cache needs to be flushed after a delay | 
| boolean | requestFlush(HRegion region,
            FlushLifeCycleTracker tracker)Tell the listener the cache needs to be flushed. | 
| boolean | requestFlush(HRegion region,
            List<byte[]> families,
            FlushLifeCycleTracker tracker)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 | 
boolean requestFlush(HRegion region, FlushLifeCycleTracker tracker)
region - the Region requesting the cache flushboolean requestFlush(HRegion region, List<byte[]> families, FlushLifeCycleTracker tracker)
region - the Region requesting the cache flushfamilies - stores of region to flush, if null then use flush policyboolean requestDelayedFlush(HRegion region, long delay)
region - the Region 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 © 2007–2021 The Apache Software Foundation. All rights reserved.