org.apache.hadoop.yarn.api.protocolrecords.impl.pb
Class StopContainerRequestPBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.ProtoBase<YarnServiceProtos.StopContainerRequestProto>
org.apache.hadoop.yarn.api.protocolrecords.impl.pb.StopContainerRequestPBImpl
- All Implemented Interfaces:
- StopContainerRequest
public class StopContainerRequestPBImpl
- extends ProtoBase<YarnServiceProtos.StopContainerRequestProto>
- implements StopContainerRequest
StopContainerRequestPBImpl
public StopContainerRequestPBImpl()
StopContainerRequestPBImpl
public StopContainerRequestPBImpl(YarnServiceProtos.StopContainerRequestProto proto)
getProto
public YarnServiceProtos.StopContainerRequestProto getProto()
- Specified by:
getProto in class ProtoBase<YarnServiceProtos.StopContainerRequestProto>
getContainerId
public ContainerId getContainerId()
- Description copied from interface:
StopContainerRequest
- Get the
ContainerId of the container to be stopped.
- Specified by:
getContainerId in interface StopContainerRequest
- Returns:
ContainerId of container to be stopped
setContainerId
public void setContainerId(ContainerId containerId)
- Description copied from interface:
StopContainerRequest
- Set the
ContainerId of the container to be stopped.
- Specified by:
setContainerId in interface StopContainerRequest
- Parameters:
containerId - ContainerId of the container to be stopped
Copyright © 2012 Apache Software Foundation. All Rights Reserved.