@InterfaceAudience.Private
public class StorefileRefresherChore
extends org.apache.hadoop.hbase.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,
org.apache.hadoop.hbase.Stoppable stoppable) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
chore() |
protected boolean |
isRegionStale(String encodedName,
long time) |
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,
org.apache.hadoop.hbase.Stoppable stoppable)
protected void chore()
chore in class org.apache.hadoop.hbase.ScheduledChoreprotected boolean isRegionStale(String encodedName, long time)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.