@InterfaceAudience.Private
@InterfaceStability.Evolving
public class CleanerService
extends org.apache.hadoop.service.CompositeService
Modifier and Type | Field and Description |
---|---|
static String |
GLOBAL_CLEANER_PID
The name of the global cleaner lock that the cleaner creates to indicate
that a cleaning process is in progress.
|
Constructor and Description |
---|
CleanerService(SCMStore store) |
Modifier and Type | Method and Description |
---|---|
protected void |
runCleanerTask()
Execute an on-demand cleaner task.
|
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
protected void |
serviceStart() |
protected void |
serviceStop() |
addIfService, addService, getServices, removeService
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
public static final String GLOBAL_CLEANER_PID
public CleanerService(SCMStore store)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf) throws Exception
serviceInit
in class org.apache.hadoop.service.CompositeService
Exception
protected void serviceStart() throws Exception
serviceStart
in class org.apache.hadoop.service.CompositeService
Exception
protected void serviceStop() throws Exception
serviceStop
in class org.apache.hadoop.service.CompositeService
Exception
protected void runCleanerTask()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.