public class WebAppService<T extends org.apache.hadoop.yarn.webapp.WebApp>
extends org.apache.hadoop.service.AbstractService
It does not start the application. Access to the field is not synchronized across threads; it is the responsibility of the caller.
| Constructor and Description |
|---|
WebAppService(String name) |
WebAppService(String name,
T app) |
| Modifier and Type | Method and Description |
|---|---|
T |
getWebApp() |
protected void |
serviceStart() |
protected void |
serviceStop()
Stop operation stops the webapp; sets the reference to null
|
void |
setWebApp(T webApp) |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceInit, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic WebAppService(String name)
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.