Class TestStoreFileRefresherChore.StaleStorefileRefresherChore

java.lang.Object
org.apache.hadoop.hbase.ScheduledChore
org.apache.hadoop.hbase.regionserver.StorefileRefresherChore
org.apache.hadoop.hbase.regionserver.TestStoreFileRefresherChore.StaleStorefileRefresherChore
All Implemented Interfaces:
Runnable
Enclosing class:
TestStoreFileRefresherChore

static class TestStoreFileRefresherChore.StaleStorefileRefresherChore extends org.apache.hadoop.hbase.regionserver.StorefileRefresherChore
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) boolean
     

    Fields inherited from class org.apache.hadoop.hbase.regionserver.StorefileRefresherChore

    DEFAULT_REGIONSERVER_STOREFILE_REFRESH_PERIOD, REGIONSERVER_META_STOREFILE_REFRESH_PERIOD, REGIONSERVER_STOREFILE_REFRESH_PERIOD
  • Constructor Summary

    Constructors
    Constructor
    Description
    StaleStorefileRefresherChore(int period, org.apache.hadoop.hbase.regionserver.HRegionServer regionServer, org.apache.hadoop.hbase.Stoppable stoppable)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    isRegionStale(String encodedName, long time)
     

    Methods inherited from class org.apache.hadoop.hbase.regionserver.StorefileRefresherChore

    chore

    Methods inherited from class org.apache.hadoop.hbase.ScheduledChore

    cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNow

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • StaleStorefileRefresherChore

      public StaleStorefileRefresherChore(int period, org.apache.hadoop.hbase.regionserver.HRegionServer regionServer, org.apache.hadoop.hbase.Stoppable stoppable)
  • Method Details

    • isRegionStale

      protected boolean isRegionStale(String encodedName, long time)
      Overrides:
      isRegionStale in class org.apache.hadoop.hbase.regionserver.StorefileRefresherChore