@InterfaceAudience.Private @InterfaceStability.Unstable public class RegisterApplicationMasterResponsePBImpl extends RegisterApplicationMasterResponse
| Constructor and Description |
|---|
RegisterApplicationMasterResponsePBImpl() |
RegisterApplicationMasterResponsePBImpl(YarnServiceProtos.RegisterApplicationMasterResponseProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Map<ApplicationAccessType,String> |
getApplicationACLs()
Get the
ApplicationACLs for the application. |
ByteBuffer |
getClientToAMTokenMasterKey()
Get ClientToAMToken master key.
|
Resource |
getMaximumResourceCapability()
Get the maximum capability for any
Resource allocated by the
ResourceManager in the cluster. |
YarnServiceProtos.RegisterApplicationMasterResponseProto |
getProto() |
int |
hashCode() |
void |
setApplicationACLs(Map<ApplicationAccessType,String> appACLs)
Set the
ApplicationACLs for the application. |
void |
setClientToAMTokenMasterKey(ByteBuffer key)
Set ClientToAMToken master key.
|
void |
setMaximumResourceCapability(Resource capability) |
String |
toString() |
newInstancepublic RegisterApplicationMasterResponsePBImpl()
public RegisterApplicationMasterResponsePBImpl(YarnServiceProtos.RegisterApplicationMasterResponseProto proto)
public YarnServiceProtos.RegisterApplicationMasterResponseProto getProto()
public Resource getMaximumResourceCapability()
RegisterApplicationMasterResponseResource allocated by the
ResourceManager in the cluster.getMaximumResourceCapability in class RegisterApplicationMasterResponsepublic void setMaximumResourceCapability(Resource capability)
setMaximumResourceCapability in class RegisterApplicationMasterResponsepublic Map<ApplicationAccessType,String> getApplicationACLs()
RegisterApplicationMasterResponseApplicationACLs for the application.getApplicationACLs in class RegisterApplicationMasterResponseApplicationACLspublic void setApplicationACLs(Map<ApplicationAccessType,String> appACLs)
RegisterApplicationMasterResponseApplicationACLs for the application.setApplicationACLs in class RegisterApplicationMasterResponsepublic void setClientToAMTokenMasterKey(ByteBuffer key)
RegisterApplicationMasterResponsesetClientToAMTokenMasterKey in class RegisterApplicationMasterResponsepublic ByteBuffer getClientToAMTokenMasterKey()
RegisterApplicationMasterResponseGet ClientToAMToken master key.
The ClientToAMToken master key is sent to ApplicationMaster
by ResourceManager via RegisterApplicationMasterResponse
, used to verify corresponding ClientToAMToken.
getClientToAMTokenMasterKey in class RegisterApplicationMasterResponseCopyright © 2013 Apache Software Foundation. All rights reserved.