org.apache.hadoop.yarn.server.applicationhistoryservice.records
Class ApplicationAttemptStartData

java.lang.Object
  extended by org.apache.hadoop.yarn.server.applicationhistoryservice.records.ApplicationAttemptStartData
Direct Known Subclasses:
ApplicationAttemptStartDataPBImpl

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract class ApplicationAttemptStartData
extends Object

The class contains the fields that can be determined when RMAppAttempt starts, and that need to be stored persistently.


Constructor Summary
ApplicationAttemptStartData()
           
 
Method Summary
abstract  org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
           
abstract  String getHost()
           
abstract  org.apache.hadoop.yarn.api.records.ContainerId getMasterContainerId()
           
abstract  int getRPCPort()
           
static ApplicationAttemptStartData newInstance(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId, String host, int rpcPort, org.apache.hadoop.yarn.api.records.ContainerId masterContainerId)
           
abstract  void setApplicationAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId)
           
abstract  void setHost(String host)
           
abstract  void setMasterContainerId(org.apache.hadoop.yarn.api.records.ContainerId masterContainerId)
           
abstract  void setRPCPort(int rpcPort)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationAttemptStartData

public ApplicationAttemptStartData()
Method Detail

newInstance

@InterfaceAudience.Public
@InterfaceStability.Unstable
public static ApplicationAttemptStartData newInstance(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
                                                                                                           String host,
                                                                                                           int rpcPort,
                                                                                                           org.apache.hadoop.yarn.api.records.ContainerId masterContainerId)

getApplicationAttemptId

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()

setApplicationAttemptId

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract void setApplicationAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId)

getHost

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract String getHost()

setHost

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract void setHost(String host)

getRPCPort

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract int getRPCPort()

setRPCPort

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract void setRPCPort(int rpcPort)

getMasterContainerId

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract org.apache.hadoop.yarn.api.records.ContainerId getMasterContainerId()

setMasterContainerId

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract void setMasterContainerId(org.apache.hadoop.yarn.api.records.ContainerId masterContainerId)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.