org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt
Class AMLivelinessMonitor

java.lang.Object
  extended by org.apache.hadoop.yarn.service.AbstractService
      extended by org.apache.hadoop.yarn.util.AbstractLivelinessMonitor<org.apache.hadoop.yarn.api.records.ApplicationAttemptId>
          extended by org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.AMLivelinessMonitor
All Implemented Interfaces:
org.apache.hadoop.yarn.service.Service

public class AMLivelinessMonitor
extends org.apache.hadoop.yarn.util.AbstractLivelinessMonitor<org.apache.hadoop.yarn.api.records.ApplicationAttemptId>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service
org.apache.hadoop.yarn.service.Service.STATE
 
Field Summary
 
Fields inherited from class org.apache.hadoop.yarn.util.AbstractLivelinessMonitor
DEFAULT_EXPIRE
 
Constructor Summary
AMLivelinessMonitor(org.apache.hadoop.yarn.event.Dispatcher d)
           
 
Method Summary
protected  void expire(org.apache.hadoop.yarn.api.records.ApplicationAttemptId id)
           
 void init(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class org.apache.hadoop.yarn.util.AbstractLivelinessMonitor
receivedPing, register, setExpireInterval, setMonitorInterval, start, stop, unregister
 
Methods inherited from class org.apache.hadoop.yarn.service.AbstractService
getConfig, getName, getServiceState, getStartTime, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AMLivelinessMonitor

public AMLivelinessMonitor(org.apache.hadoop.yarn.event.Dispatcher d)
Method Detail

init

public void init(org.apache.hadoop.conf.Configuration conf)
Specified by:
init in interface org.apache.hadoop.yarn.service.Service
Overrides:
init in class org.apache.hadoop.yarn.service.AbstractService

expire

protected void expire(org.apache.hadoop.yarn.api.records.ApplicationAttemptId id)
Specified by:
expire in class org.apache.hadoop.yarn.util.AbstractLivelinessMonitor<org.apache.hadoop.yarn.api.records.ApplicationAttemptId>


Copyright © 2012 Apache Software Foundation. All Rights Reserved.