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

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<YarnServiceProtos.StartContainerRequestProto>
      extended by org.apache.hadoop.yarn.api.protocolrecords.impl.pb.StartContainerRequestPBImpl
All Implemented Interfaces:
StartContainerRequest

public class StartContainerRequestPBImpl
extends ProtoBase<YarnServiceProtos.StartContainerRequestProto>
implements StartContainerRequest


Constructor Summary
StartContainerRequestPBImpl()
           
StartContainerRequestPBImpl(YarnServiceProtos.StartContainerRequestProto proto)
           
 
Method Summary
 ContainerLaunchContext getContainerLaunchContext()
          Get the ContainerLaunchContext for the container to be started by the NodeManager.
 YarnServiceProtos.StartContainerRequestProto getProto()
           
 void setContainerLaunchContext(ContainerLaunchContext containerLaunchContext)
          Set the ContainerLaunchContext for the container to be started by the NodeManager
 
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

StartContainerRequestPBImpl

public StartContainerRequestPBImpl()

StartContainerRequestPBImpl

public StartContainerRequestPBImpl(YarnServiceProtos.StartContainerRequestProto proto)
Method Detail

getProto

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

getContainerLaunchContext

public ContainerLaunchContext getContainerLaunchContext()
Description copied from interface: StartContainerRequest
Get the ContainerLaunchContext for the container to be started by the NodeManager.

Specified by:
getContainerLaunchContext in interface StartContainerRequest
Returns:
ContainerLaunchContext for the container to be started by the NodeManager

setContainerLaunchContext

public void setContainerLaunchContext(ContainerLaunchContext containerLaunchContext)
Description copied from interface: StartContainerRequest
Set the ContainerLaunchContext for the container to be started by the NodeManager

Specified by:
setContainerLaunchContext in interface StartContainerRequest
Parameters:
containerLaunchContext - ContainerLaunchContext for the container to be started by the NodeManager


Copyright © 2012 Apache Software Foundation. All Rights Reserved.