Class ContainerLaunchContextPBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.ContainerLaunchContext
org.apache.hadoop.yarn.api.records.impl.pb.ContainerLaunchContextPBImpl
@Private
@Unstable
public class ContainerLaunchContextPBImpl
extends org.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
Constructor Summary
ConstructorsConstructorDescriptionContainerLaunchContextPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.ContainerLaunchContextProto proto) -
Method Summary
Modifier and TypeMethodDescriptionprotected final ByteBufferconvertFromProtoFormat(org.apache.hadoop.thirdparty.protobuf.ByteString byteString) protected final org.apache.hadoop.thirdparty.protobuf.ByteStringconvertToProtoFormat(ByteBuffer byteBuffer) booleanorg.apache.hadoop.yarn.api.records.ContainerRetryContextorg.apache.hadoop.yarn.proto.YarnProtos.ContainerLaunchContextProtogetProto()inthashCode()voidsetApplicationACLs(Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType, String> appACLs) voidsetCommands(List<String> commands) voidsetContainerRetryContext(org.apache.hadoop.yarn.api.records.ContainerRetryContext retryContext) voidsetEnvironment(Map<String, String> env) voidsetLocalResources(Map<String, org.apache.hadoop.yarn.api.records.LocalResource> localResources) voidsetServiceData(Map<String, ByteBuffer> serviceData) voidsetTokens(ByteBuffer tokens) voidsetTokensConf(ByteBuffer tokensConf) toString()Methods inherited from class org.apache.hadoop.yarn.api.records.ContainerLaunchContext
newInstance, newInstance
-
Constructor Details
-
ContainerLaunchContextPBImpl
public ContainerLaunchContextPBImpl() -
ContainerLaunchContextPBImpl
public ContainerLaunchContextPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.ContainerLaunchContextProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.proto.YarnProtos.ContainerLaunchContextProto getProto() -
hashCode
public int hashCode() -
equals
-
toString
-
convertFromProtoFormat
protected final ByteBuffer convertFromProtoFormat(org.apache.hadoop.thirdparty.protobuf.ByteString byteString) -
convertToProtoFormat
protected final org.apache.hadoop.thirdparty.protobuf.ByteString convertToProtoFormat(ByteBuffer byteBuffer) -
getCommands
- Specified by:
getCommandsin classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
setCommands
- Specified by:
setCommandsin classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
getLocalResources
- Specified by:
getLocalResourcesin classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
setLocalResources
public void setLocalResources(Map<String, org.apache.hadoop.yarn.api.records.LocalResource> localResources) - Specified by:
setLocalResourcesin classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
getTokens
- Specified by:
getTokensin classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
setTokens
- Specified by:
setTokensin classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
getTokensConf
- Specified by:
getTokensConfin classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
setTokensConf
- Specified by:
setTokensConfin classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
getServiceData
- Specified by:
getServiceDatain classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
setServiceData
- Specified by:
setServiceDatain classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
getEnvironment
- Specified by:
getEnvironmentin classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
setEnvironment
- Specified by:
setEnvironmentin classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
getApplicationACLs
- Specified by:
getApplicationACLsin classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
setApplicationACLs
public void setApplicationACLs(Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType, String> appACLs) - Specified by:
setApplicationACLsin classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
getContainerRetryContext
public org.apache.hadoop.yarn.api.records.ContainerRetryContext getContainerRetryContext()- Specified by:
getContainerRetryContextin classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-
setContainerRetryContext
public void setContainerRetryContext(org.apache.hadoop.yarn.api.records.ContainerRetryContext retryContext) - Specified by:
setContainerRetryContextin classorg.apache.hadoop.yarn.api.records.ContainerLaunchContext
-