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