|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.service.FilterService
public class FilterService
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service |
|---|
Service.STATE |
| Constructor Summary | |
|---|---|
FilterService(Service service)
|
|
| Method Summary | |
|---|---|
org.apache.hadoop.conf.Configuration |
getConfig()
Get the configuration of this service. |
String |
getName()
Get the name of this service. |
Service.STATE |
getServiceState()
Get the current service state |
long |
getStartTime()
Get the service start time |
void |
init(org.apache.hadoop.conf.Configuration config)
Initialize the service. |
void |
register(ServiceStateChangeListener listener)
Register an instance of the service state change events. |
void |
start()
Start the service. |
void |
stop()
Stop the service. |
void |
unregister(ServiceStateChangeListener listener)
Unregister a previously instance of the service state change events. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterService(Service service)
| Method Detail |
|---|
public void init(org.apache.hadoop.conf.Configuration config)
ServiceService.STATE.NOTINITED to Service.STATE.INITED
unless the operation failed and an exception was raised.
init in interface Serviceconfig - the configuration of the servicepublic void start()
ServiceService.STATE.INITED to Service.STATE.STARTED
unless the operation failed and an exception was raised.
start in interface Servicepublic void stop()
Service
stop in interface Servicepublic void register(ServiceStateChangeListener listener)
Service
register in interface Servicelistener - a new listenerpublic void unregister(ServiceStateChangeListener listener)
Service
unregister in interface Servicelistener - the listener to unregister.public String getName()
Service
getName in interface Servicepublic org.apache.hadoop.conf.Configuration getConfig()
Service
getConfig in interface Servicepublic Service.STATE getServiceState()
Service
getServiceState in interface Servicepublic long getStartTime()
Service
getStartTime in interface Service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||