@InterfaceAudience.Private public class ReplicationZKLockCleanerChore extends ScheduledChore
| Modifier and Type | Field and Description |
|---|---|
static String |
TTL_CONFIG_KEY |
| Constructor and Description |
|---|
ReplicationZKLockCleanerChore(Stoppable stopper,
Abortable abortable,
int period,
ZooKeeperWatcher zk,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
chore()
The task to execute on each scheduled execution of the Chore
|
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, toString, triggerNowpublic static final String TTL_CONFIG_KEY
public ReplicationZKLockCleanerChore(Stoppable stopper, Abortable abortable, int period, ZooKeeperWatcher zk, org.apache.hadoop.conf.Configuration conf) throws Exception
Exceptionprotected void chore()
ScheduledChorechore in class ScheduledChoreCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.