@InterfaceAudience.Private
 @InterfaceStability.Evolving
public abstract class AppChecker
extends org.apache.hadoop.service.CompositeService
| Constructor and Description | 
|---|
| AppChecker() | 
| AppChecker(String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Collection<org.apache.hadoop.yarn.api.records.ApplicationId> | getActiveApplications()Returns the list of all active apps at the given time. | 
| abstract boolean | isApplicationActive(org.apache.hadoop.yarn.api.records.ApplicationId id)Returns whether the app is in an active state. | 
addIfService, addService, getServices, removeService, serviceInit, serviceStart, serviceStopclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic AppChecker()
public AppChecker(String name)
@InterfaceAudience.Private
public abstract boolean isApplicationActive(org.apache.hadoop.yarn.api.records.ApplicationId id)
                                                                throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnException - if there is an error in determining the app state@InterfaceAudience.Private public abstract Collection<org.apache.hadoop.yarn.api.records.ApplicationId> getActiveApplications() throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnException - if there is an error in obtaining the listCopyright © 2008–2023 Apache Software Foundation. All rights reserved.