@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
ApplicationACL s 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
ApplicationACL s for the application. |
void |
setClientToAMTokenMasterKey(ByteBuffer key)
Set ClientToAMToken master key.
|
void |
setMaximumResourceCapability(Resource capability) |
String |
toString() |
newInstance
public RegisterApplicationMasterResponsePBImpl()
public RegisterApplicationMasterResponsePBImpl(YarnServiceProtos.RegisterApplicationMasterResponseProto proto)
public YarnServiceProtos.RegisterApplicationMasterResponseProto getProto()
public Resource getMaximumResourceCapability()
RegisterApplicationMasterResponse
Resource
allocated by the
ResourceManager
in the cluster.getMaximumResourceCapability
in class RegisterApplicationMasterResponse
public void setMaximumResourceCapability(Resource capability)
setMaximumResourceCapability
in class RegisterApplicationMasterResponse
public Map<ApplicationAccessType,String> getApplicationACLs()
RegisterApplicationMasterResponse
ApplicationACL
s for the application.getApplicationACLs
in class RegisterApplicationMasterResponse
ApplicationACL
spublic void setApplicationACLs(Map<ApplicationAccessType,String> appACLs)
RegisterApplicationMasterResponse
ApplicationACL
s for the application.setApplicationACLs
in class RegisterApplicationMasterResponse
public void setClientToAMTokenMasterKey(ByteBuffer key)
RegisterApplicationMasterResponse
setClientToAMTokenMasterKey
in class RegisterApplicationMasterResponse
public ByteBuffer getClientToAMTokenMasterKey()
RegisterApplicationMasterResponse
Get ClientToAMToken master key.
The ClientToAMToken master key is sent to ApplicationMaster
by ResourceManager
via RegisterApplicationMasterResponse
, used to verify corresponding ClientToAMToken.
getClientToAMTokenMasterKey
in class RegisterApplicationMasterResponse
Copyright © 2013 Apache Software Foundation. All rights reserved.