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

java.lang.Object
  extended by org.apache.hadoop.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:
Closeable, org.apache.hadoop.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.service.Service
org.apache.hadoop.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 serviceInit(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class org.apache.hadoop.yarn.util.AbstractLivelinessMonitor
receivedPing, register, serviceStart, serviceStop, setExpireInterval, setMonitorInterval, unregister
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AMLivelinessMonitor

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

serviceInit

public void serviceInit(org.apache.hadoop.conf.Configuration conf)
                 throws Exception
Overrides:
serviceInit in class org.apache.hadoop.service.AbstractService
Throws:
Exception

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 © 2014 Apache Software Foundation. All Rights Reserved.