org.apache.hadoop.yarn.service
Class FilterService

java.lang.Object
  extended by org.apache.hadoop.yarn.service.FilterService
All Implemented Interfaces:
Service

public class FilterService
extends Object
implements Service


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()
           
 String getName()
           
 Service.STATE getServiceState()
           
 long getStartTime()
           
 void init(org.apache.hadoop.conf.Configuration config)
           
 void register(ServiceStateChangeListener listener)
           
 void start()
           
 void stop()
           
 void unregister(ServiceStateChangeListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterService

public FilterService(Service service)
Method Detail

init

public void init(org.apache.hadoop.conf.Configuration config)
Specified by:
init in interface Service

start

public void start()
Specified by:
start in interface Service

stop

public void stop()
Specified by:
stop in interface Service

register

public void register(ServiceStateChangeListener listener)
Specified by:
register in interface Service

unregister

public void unregister(ServiceStateChangeListener listener)
Specified by:
unregister in interface Service

getName

public String getName()
Specified by:
getName in interface Service

getConfig

public org.apache.hadoop.conf.Configuration getConfig()
Specified by:
getConfig in interface Service

getServiceState

public Service.STATE getServiceState()
Specified by:
getServiceState in interface Service

getStartTime

public long getStartTime()
Specified by:
getStartTime in interface Service


Copyright © 2012 Apache Software Foundation. All Rights Reserved.