Class AbstractTestWALReplay.TestFlusher

java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.AbstractTestWALReplay.TestFlusher
All Implemented Interfaces:
org.apache.hadoop.hbase.regionserver.FlushRequester
Enclosing class:
AbstractTestWALReplay

static class AbstractTestWALReplay.TestFlusher extends Object implements org.apache.hadoop.hbase.regionserver.FlushRequester
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private org.apache.hadoop.hbase.regionserver.HRegion
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerFlushRequestListener(org.apache.hadoop.hbase.regionserver.FlushRequestListener listener)
     
    boolean
    requestDelayedFlush(org.apache.hadoop.hbase.regionserver.HRegion region, long when)
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • r

      private org.apache.hadoop.hbase.regionserver.HRegion r
  • Constructor Details

  • Method Details

    • requestFlush

      public boolean requestFlush(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker)
      Specified by:
      requestFlush in interface org.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 interface org.apache.hadoop.hbase.regionserver.FlushRequester
    • requestDelayedFlush

      public boolean requestDelayedFlush(org.apache.hadoop.hbase.regionserver.HRegion region, long when)
      Specified by:
      requestDelayedFlush in interface org.apache.hadoop.hbase.regionserver.FlushRequester
    • registerFlushRequestListener

      public void registerFlushRequestListener(org.apache.hadoop.hbase.regionserver.FlushRequestListener listener)
      Specified by:
      registerFlushRequestListener in interface org.apache.hadoop.hbase.regionserver.FlushRequester
    • unregisterFlushRequestListener

      public boolean unregisterFlushRequestListener(org.apache.hadoop.hbase.regionserver.FlushRequestListener listener)
      Specified by:
      unregisterFlushRequestListener in interface org.apache.hadoop.hbase.regionserver.FlushRequester
    • setGlobalMemStoreLimit

      public void setGlobalMemStoreLimit(long globalMemStoreSize)
      Specified by:
      setGlobalMemStoreLimit in interface org.apache.hadoop.hbase.regionserver.FlushRequester