org.apache.hadoop.yarn.api.protocolrecords.impl.pb
Class GetContainerStatusRequestPBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.ProtoBase<YarnServiceProtos.GetContainerStatusRequestProto>
org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetContainerStatusRequestPBImpl
- All Implemented Interfaces:
- GetContainerStatusRequest
public class GetContainerStatusRequestPBImpl
- extends ProtoBase<YarnServiceProtos.GetContainerStatusRequestProto>
- implements GetContainerStatusRequest
GetContainerStatusRequestPBImpl
public GetContainerStatusRequestPBImpl()
GetContainerStatusRequestPBImpl
public GetContainerStatusRequestPBImpl(YarnServiceProtos.GetContainerStatusRequestProto proto)
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.