- java.lang.Object
-
- org.apache.hadoop.service.AbstractService
-
- org.apache.tez.dag.app.ServicePluginLifecycleAbstractService<T>
-
- Type Parameters:
T -
- All Implemented Interfaces:
- Closeable, AutoCloseable, org.apache.hadoop.service.Service
public class ServicePluginLifecycleAbstractService<T extends ServicePluginLifecycle>
extends org.apache.hadoop.service.AbstractService
Provides service lifecycle management over ServicePlugins using AbstractService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service
org.apache.hadoop.service.Service.STATE
-
Method Summary
-
Methods inherited from class org.apache.hadoop.service.AbstractService
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
-
-
Method Detail
-
getService
public T getService()
Copyright © 2021 Apache Software Foundation. All rights reserved.