@InterfaceAudience.Private public class BrokenStoreFileCleaner extends ScheduledChore
| Modifier and Type | Field and Description |
|---|---|
static String |
BROKEN_STOREFILE_CLEANER_DELAY |
static String |
BROKEN_STOREFILE_CLEANER_DELAY_JITTER |
static String |
BROKEN_STOREFILE_CLEANER_ENABLED |
static String |
BROKEN_STOREFILE_CLEANER_PERIOD |
static String |
BROKEN_STOREFILE_CLEANER_TTL |
static int |
DEFAULT_BROKEN_STOREFILE_CLEANER_DELAY |
static double |
DEFAULT_BROKEN_STOREFILE_CLEANER_DELAY_JITTER |
static boolean |
DEFAULT_BROKEN_STOREFILE_CLEANER_ENABLED |
static int |
DEFAULT_BROKEN_STOREFILE_CLEANER_PERIOD |
static long |
DEFAULT_BROKEN_STOREFILE_CLEANER_TTL |
| Constructor and Description |
|---|
BrokenStoreFileCleaner(int delay,
int period,
Stoppable stopper,
org.apache.hadoop.conf.Configuration conf,
HRegionServer regionServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
chore() |
boolean |
getEnabled() |
boolean |
setEnabled(boolean enabled) |
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNowpublic static final String BROKEN_STOREFILE_CLEANER_ENABLED
public static final boolean DEFAULT_BROKEN_STOREFILE_CLEANER_ENABLED
public static final String BROKEN_STOREFILE_CLEANER_TTL
public static final long DEFAULT_BROKEN_STOREFILE_CLEANER_TTL
public static final String BROKEN_STOREFILE_CLEANER_DELAY
public static final int DEFAULT_BROKEN_STOREFILE_CLEANER_DELAY
public static final String BROKEN_STOREFILE_CLEANER_DELAY_JITTER
public static final double DEFAULT_BROKEN_STOREFILE_CLEANER_DELAY_JITTER
public static final String BROKEN_STOREFILE_CLEANER_PERIOD
public static final int DEFAULT_BROKEN_STOREFILE_CLEANER_PERIOD
public BrokenStoreFileCleaner(int delay,
int period,
Stoppable stopper,
org.apache.hadoop.conf.Configuration conf,
HRegionServer regionServer)
public boolean setEnabled(boolean enabled)
public boolean getEnabled()
public void chore()
chore in class ScheduledChoreCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.