org.apache.hadoop.yarn.service
Interface Service

All Known Implementing Classes:
AbstractLivelinessMonitor, AbstractService, AggregatedLogDeletionService, AsyncDispatcher, CompositeService, FilterService

public interface Service

Service LifeCycle.


Nested Class Summary
static class Service.STATE
           
 
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)
           
 

Method Detail

init

void init(org.apache.hadoop.conf.Configuration config)

start

void start()

stop

void stop()

register

void register(ServiceStateChangeListener listener)

unregister

void unregister(ServiceStateChangeListener listener)

getName

String getName()

getConfig

org.apache.hadoop.conf.Configuration getConfig()

getServiceState

Service.STATE getServiceState()

getStartTime

long getStartTime()


Copyright © 2012 Apache Software Foundation. All Rights Reserved.