@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()
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 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()
ScheduledChorechore in class ScheduledChoreCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.