@InterfaceAudience.Private public class StorefileRefresherChore extends ScheduledChore
Modifier and Type | Field and Description |
---|---|
static String |
REGIONSERVER_META_STOREFILE_REFRESH_PERIOD
Whether all storefiles should be refreshed, as opposed to just hbase:meta's
Meta region doesn't have WAL replication for replicas enabled yet
|
static String |
REGIONSERVER_STOREFILE_REFRESH_PERIOD
The period (in milliseconds) for refreshing the store files for the secondary regions.
|
Constructor and Description |
---|
StorefileRefresherChore(int period,
boolean onlyMetaRefresh,
HRegionServer regionServer,
Stoppable stoppable) |
Modifier and Type | Method and Description |
---|---|
protected void |
chore()
The task to execute on each scheduled execution of the Chore
|
protected boolean |
isRegionStale(String encodedName,
long time) |
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, toString, triggerNow
public static final String REGIONSERVER_STOREFILE_REFRESH_PERIOD
public static final String REGIONSERVER_META_STOREFILE_REFRESH_PERIOD
public StorefileRefresherChore(int period, boolean onlyMetaRefresh, HRegionServer regionServer, Stoppable stoppable)
protected void chore()
ScheduledChore
chore
in class ScheduledChore
protected boolean isRegionStale(String encodedName, long time)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.