public class DeletionService
extends org.apache.hadoop.service.AbstractService
| Constructor and Description |
|---|
DeletionService(ContainerExecutor exec) |
DeletionService(ContainerExecutor containerExecutor,
NMStateStoreService stateStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(DeletionTask deletionTask) |
ContainerExecutor |
getContainerExecutor() |
int |
getDebugDelay() |
NMStateStoreService |
getStateStore() |
boolean |
isTerminated()
Determine if the service has completely stopped.
|
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
void |
serviceStop() |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStart, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic DeletionService(ContainerExecutor exec)
public DeletionService(ContainerExecutor containerExecutor, NMStateStoreService stateStore)
public int getDebugDelay()
public ContainerExecutor getContainerExecutor()
public NMStateStoreService getStateStore()
public void delete(DeletionTask deletionTask)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceExceptionpublic void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.AbstractServiceException@InterfaceAudience.Private public boolean isTerminated()
Copyright © 2022 Apache Software Foundation. All rights reserved.