java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Service@Private
@Evolving
public class CleanerService
extends org.apache.hadoop.service.CompositeService
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.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 | Description |
|---|---|
CleanerService(SCMStore store) |
| Modifier and Type | Method | 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 java.lang.String GLOBAL_CLEANER_PID
public CleanerService(SCMStore store)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
serviceInit in class org.apache.hadoop.service.CompositeServicejava.lang.Exceptionprotected void serviceStart()
throws java.lang.Exception
serviceStart in class org.apache.hadoop.service.CompositeServicejava.lang.Exceptionprotected void serviceStop()
throws java.lang.Exception
serviceStop in class org.apache.hadoop.service.CompositeServicejava.lang.Exceptionprotected void runCleanerTask()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.