@InterfaceAudience.Private
 @InterfaceStability.Evolving
public class CleanerService
extends org.apache.hadoop.service.CompositeService
| Modifier and Type | Field and Description | 
|---|---|
| static String | GLOBAL_CLEANER_PIDThe 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, removeServiceclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic 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.CompositeServiceExceptionprotected void serviceStart()
                     throws Exception
serviceStart in class org.apache.hadoop.service.CompositeServiceExceptionprotected void serviceStop()
                    throws Exception
serviceStop in class org.apache.hadoop.service.CompositeServiceExceptionprotected void runCleanerTask()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.