@InterfaceAudience.Private @InterfaceStability.Unstable public class ContainerLaunchContextPBImpl extends ContainerLaunchContext
| Constructor and Description |
|---|
ContainerLaunchContextPBImpl() |
ContainerLaunchContextPBImpl(YarnProtos.ContainerLaunchContextProto proto) |
| Modifier and Type | Method and Description |
|---|---|
protected ByteBuffer |
convertFromProtoFormat(com.google.protobuf.ByteString byteString) |
protected com.google.protobuf.ByteString |
convertToProtoFormat(ByteBuffer byteBuffer) |
boolean |
equals(Object other) |
Map<ApplicationAccessType,String> |
getApplicationACLs() |
List<String> |
getCommands() |
Map<String,String> |
getEnvironment() |
Map<String,LocalResource> |
getLocalResources() |
YarnProtos.ContainerLaunchContextProto |
getProto() |
Map<String,ByteBuffer> |
getServiceData() |
ByteBuffer |
getTokens() |
int |
hashCode() |
void |
setApplicationACLs(Map<ApplicationAccessType,String> appACLs) |
void |
setCommands(List<String> commands) |
void |
setEnvironment(Map<String,String> env) |
void |
setLocalResources(Map<String,LocalResource> localResources) |
void |
setServiceData(Map<String,ByteBuffer> serviceData) |
void |
setTokens(ByteBuffer tokens) |
String |
toString() |
newInstancepublic ContainerLaunchContextPBImpl()
public ContainerLaunchContextPBImpl(YarnProtos.ContainerLaunchContextProto proto)
public YarnProtos.ContainerLaunchContextProto getProto()
protected final ByteBuffer convertFromProtoFormat(com.google.protobuf.ByteString byteString)
protected final com.google.protobuf.ByteString convertToProtoFormat(ByteBuffer byteBuffer)
public List<String> getCommands()
getCommands in class ContainerLaunchContextpublic void setCommands(List<String> commands)
setCommands in class ContainerLaunchContextpublic Map<String,LocalResource> getLocalResources()
getLocalResources in class ContainerLaunchContextpublic void setLocalResources(Map<String,LocalResource> localResources)
setLocalResources in class ContainerLaunchContextpublic ByteBuffer getTokens()
getTokens in class ContainerLaunchContextpublic void setTokens(ByteBuffer tokens)
setTokens in class ContainerLaunchContextpublic Map<String,ByteBuffer> getServiceData()
getServiceData in class ContainerLaunchContextpublic void setServiceData(Map<String,ByteBuffer> serviceData)
setServiceData in class ContainerLaunchContextpublic Map<String,String> getEnvironment()
getEnvironment in class ContainerLaunchContextpublic void setEnvironment(Map<String,String> env)
setEnvironment in class ContainerLaunchContextpublic Map<ApplicationAccessType,String> getApplicationACLs()
getApplicationACLs in class ContainerLaunchContextpublic void setApplicationACLs(Map<ApplicationAccessType,String> appACLs)
setApplicationACLs in class ContainerLaunchContextCopyright © 2018 CERN. All Rights Reserved.