@InterfaceAudience.Private public class SnapshotCleanerChore extends ScheduledChore
| Constructor and Description |
|---|
SnapshotCleanerChore(Stoppable stopper,
org.apache.hadoop.conf.Configuration configuration,
SnapshotManager snapshotManager)
Construct Snapshot Cleaner Chore with parameterized constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
chore() |
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNowpublic SnapshotCleanerChore(Stoppable stopper, org.apache.hadoop.conf.Configuration configuration, SnapshotManager snapshotManager)
stopper - When Stoppable.isStopped() is true, this chore will cancel and
cleanupconfiguration - The configuration to setsnapshotManager - SnapshotManager instance to manage lifecycle of snapshotprotected void chore()
chore in class ScheduledChoreCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.