org.apache.hadoop.hbase.regionserver
Interface FlushRequester


@InterfaceAudience.Private
public interface FlushRequester

Request a flush.


Method Summary
 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.
 

Method Detail

requestFlush

void requestFlush(HRegion region)
Tell the listener the cache needs to be flushed.

Parameters:
region - the HRegion requesting the cache flush

requestDelayedFlush

void requestDelayedFlush(HRegion region,
                         long delay)
Tell the listener the cache needs to be flushed after a delay

Parameters:
region - the HRegion requesting the cache flush
delay - after how much time should the flush happen


Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.