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

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<YarnServiceProtos.StopContainerRequestProto>
      extended by org.apache.hadoop.yarn.api.protocolrecords.impl.pb.StopContainerRequestPBImpl
All Implemented Interfaces:
StopContainerRequest

public class StopContainerRequestPBImpl
extends ProtoBase<YarnServiceProtos.StopContainerRequestProto>
implements StopContainerRequest


Constructor Summary
StopContainerRequestPBImpl()
           
StopContainerRequestPBImpl(YarnServiceProtos.StopContainerRequestProto proto)
           
 
Method Summary
 ContainerId getContainerId()
          Get the ContainerId of the container to be stopped.
 YarnServiceProtos.StopContainerRequestProto getProto()
           
 void setContainerId(ContainerId containerId)
          Set the ContainerId of the container to be stopped.
 
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

StopContainerRequestPBImpl

public StopContainerRequestPBImpl()

StopContainerRequestPBImpl

public StopContainerRequestPBImpl(YarnServiceProtos.StopContainerRequestProto proto)
Method Detail

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.