org.apache.hadoop.yarn.api.protocolrecords.impl.pb
Class RegisterApplicationMasterRequestPBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<YarnServiceProtos.RegisterApplicationMasterRequestProto>
      extended by org.apache.hadoop.yarn.api.protocolrecords.impl.pb.RegisterApplicationMasterRequestPBImpl
All Implemented Interfaces:
RegisterApplicationMasterRequest

public class RegisterApplicationMasterRequestPBImpl
extends ProtoBase<YarnServiceProtos.RegisterApplicationMasterRequestProto>
implements RegisterApplicationMasterRequest


Constructor Summary
RegisterApplicationMasterRequestPBImpl()
           
RegisterApplicationMasterRequestPBImpl(YarnServiceProtos.RegisterApplicationMasterRequestProto proto)
           
 
Method Summary
 ApplicationAttemptId getApplicationAttemptId()
          Get the ApplicationAttemptId being managed by the ApplicationMaster.
 String getHost()
          Get the host on which the ApplicationMaster is running.
 YarnServiceProtos.RegisterApplicationMasterRequestProto getProto()
           
 int getRpcPort()
          Get the RPC port on which the ApplicationMaster is responding.
 String getTrackingUrl()
          Get the tracking URL for the ApplicationMaster.
 void setApplicationAttemptId(ApplicationAttemptId applicationMaster)
          Set the ApplicationAttemptId being managed by the ApplicationMaster.
 void setHost(String host)
          Set the host on which the ApplicationMaster is running.
 void setRpcPort(int port)
          Set the RPC port on which the ApplicationMaster is responding.
 void setTrackingUrl(String url)
          Set the tracking URL for the ApplicationMaster.
 
Methods inherited from class org.apache.hadoop.yarn.api.records.ProtoBase
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegisterApplicationMasterRequestPBImpl

public RegisterApplicationMasterRequestPBImpl()

RegisterApplicationMasterRequestPBImpl

public RegisterApplicationMasterRequestPBImpl(YarnServiceProtos.RegisterApplicationMasterRequestProto proto)
Method Detail

getProto

public YarnServiceProtos.RegisterApplicationMasterRequestProto getProto()
Specified by:
getProto in class ProtoBase<YarnServiceProtos.RegisterApplicationMasterRequestProto>

getApplicationAttemptId

public ApplicationAttemptId getApplicationAttemptId()
Description copied from interface: RegisterApplicationMasterRequest
Get the ApplicationAttemptId being managed by the ApplicationMaster.

Specified by:
getApplicationAttemptId in interface RegisterApplicationMasterRequest
Returns:
ApplicationAttemptId being managed by the ApplicationMaster

setApplicationAttemptId

public void setApplicationAttemptId(ApplicationAttemptId applicationMaster)
Description copied from interface: RegisterApplicationMasterRequest
Set the ApplicationAttemptId being managed by the ApplicationMaster.

Specified by:
setApplicationAttemptId in interface RegisterApplicationMasterRequest
Parameters:
applicationMaster - ApplicationAttemptId being managed by the ApplicationMaster

getHost

public String getHost()
Description copied from interface: RegisterApplicationMasterRequest
Get the host on which the ApplicationMaster is running.

Specified by:
getHost in interface RegisterApplicationMasterRequest
Returns:
host on which the ApplicationMaster is running

setHost

public void setHost(String host)
Description copied from interface: RegisterApplicationMasterRequest
Set the host on which the ApplicationMaster is running.

Specified by:
setHost in interface RegisterApplicationMasterRequest
Parameters:
host - host on which the ApplicationMaster is running

getRpcPort

public int getRpcPort()
Description copied from interface: RegisterApplicationMasterRequest
Get the RPC port on which the ApplicationMaster is responding.

Specified by:
getRpcPort in interface RegisterApplicationMasterRequest
Returns:
the RPC port on which the ApplicationMaster is responding

setRpcPort

public void setRpcPort(int port)
Description copied from interface: RegisterApplicationMasterRequest
Set the RPC port on which the ApplicationMaster is responding.

Specified by:
setRpcPort in interface RegisterApplicationMasterRequest
Parameters:
port - RPC port on which the ApplicationMaster is responding

getTrackingUrl

public String getTrackingUrl()
Description copied from interface: RegisterApplicationMasterRequest
Get the tracking URL for the ApplicationMaster.

Specified by:
getTrackingUrl in interface RegisterApplicationMasterRequest
Returns:
tracking URL for the ApplicationMaster

setTrackingUrl

public void setTrackingUrl(String url)
Description copied from interface: RegisterApplicationMasterRequest
Set the tracking URL for the ApplicationMaster.

Specified by:
setTrackingUrl in interface RegisterApplicationMasterRequest
Parameters:
url - tracking URL for the ApplicationMaster


Copyright © 2012 Apache Software Foundation. All Rights Reserved.