org.apache.hadoop.yarn.server.utils
Class YarnServerBuilderUtils

java.lang.Object
  extended by org.apache.hadoop.yarn.server.utils.YarnServerBuilderUtils

public class YarnServerBuilderUtils
extends Object

Server Builder utilities to construct various objects.


Constructor Summary
YarnServerBuilderUtils()
           
 
Method Summary
static NodeHeartbeatResponse newNodeHeartbeatResponse(int responseId, NodeAction action, List<org.apache.hadoop.yarn.api.records.ContainerId> containersToCleanUp, List<org.apache.hadoop.yarn.api.records.ApplicationId> applicationsToCleanUp, MasterKey containerTokenMasterKey, MasterKey nmTokenMasterKey, long nextHeartbeatInterval)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YarnServerBuilderUtils

public YarnServerBuilderUtils()
Method Detail

newNodeHeartbeatResponse

public static NodeHeartbeatResponse newNodeHeartbeatResponse(int responseId,
                                                             NodeAction action,
                                                             List<org.apache.hadoop.yarn.api.records.ContainerId> containersToCleanUp,
                                                             List<org.apache.hadoop.yarn.api.records.ApplicationId> applicationsToCleanUp,
                                                             MasterKey containerTokenMasterKey,
                                                             MasterKey nmTokenMasterKey,
                                                             long nextHeartbeatInterval)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.