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

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<YarnServiceProtos.GetContainerStatusRequestProto>
      extended by org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetContainerStatusRequestPBImpl
All Implemented Interfaces:
GetContainerStatusRequest

public class GetContainerStatusRequestPBImpl
extends ProtoBase<YarnServiceProtos.GetContainerStatusRequestProto>
implements GetContainerStatusRequest


Constructor Summary
GetContainerStatusRequestPBImpl()
           
GetContainerStatusRequestPBImpl(YarnServiceProtos.GetContainerStatusRequestProto proto)
           
 
Method Summary
 ContainerId getContainerId()
          Get the ContainerId of container for which to obtain the ContainerStatus.
 YarnServiceProtos.GetContainerStatusRequestProto getProto()
           
 void setContainerId(ContainerId containerId)
          Set the ContainerId of container for which to obtain the ContainerStatus
 
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

GetContainerStatusRequestPBImpl

public GetContainerStatusRequestPBImpl()

GetContainerStatusRequestPBImpl

public GetContainerStatusRequestPBImpl(YarnServiceProtos.GetContainerStatusRequestProto proto)
Method Detail

getProto

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

getContainerId

public ContainerId getContainerId()
Description copied from interface: GetContainerStatusRequest
Get the ContainerId of container for which to obtain the ContainerStatus.

Specified by:
getContainerId in interface GetContainerStatusRequest
Returns:
ContainerId of container for which to obtain the ContainerStatus

setContainerId

public void setContainerId(ContainerId containerId)
Description copied from interface: GetContainerStatusRequest
Set the ContainerId of container for which to obtain the ContainerStatus

Specified by:
setContainerId in interface GetContainerStatusRequest
Parameters:
containerId - ContainerId of container for which to obtain the ContainerStatus


Copyright © 2012 Apache Software Foundation. All Rights Reserved.