org.apache.hadoop.yarn.api.protocolrecords.impl.pb
Class RegisterApplicationMasterResponsePBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.ProtoBase<YarnServiceProtos.RegisterApplicationMasterResponseProto>
org.apache.hadoop.yarn.api.protocolrecords.impl.pb.RegisterApplicationMasterResponsePBImpl
- All Implemented Interfaces:
- RegisterApplicationMasterResponse
public class RegisterApplicationMasterResponsePBImpl
- extends ProtoBase<YarnServiceProtos.RegisterApplicationMasterResponseProto>
- implements RegisterApplicationMasterResponse
RegisterApplicationMasterResponsePBImpl
public RegisterApplicationMasterResponsePBImpl()
RegisterApplicationMasterResponsePBImpl
public RegisterApplicationMasterResponsePBImpl(YarnServiceProtos.RegisterApplicationMasterResponseProto proto)
getProto
public YarnServiceProtos.RegisterApplicationMasterResponseProto getProto()
- Specified by:
getProto in class ProtoBase<YarnServiceProtos.RegisterApplicationMasterResponseProto>
getMaximumResourceCapability
public Resource getMaximumResourceCapability()
- Description copied from interface:
RegisterApplicationMasterResponse
- Get the maximum capability for any
Resource allocated by the
ResourceManager in the cluster.
- Specified by:
getMaximumResourceCapability in interface RegisterApplicationMasterResponse
- Returns:
- maximum capability of allocated resources in the cluster
getMinimumResourceCapability
public Resource getMinimumResourceCapability()
- Description copied from interface:
RegisterApplicationMasterResponse
- Get the minimum capability for any
Resource allocated by the
ResourceManager in the cluster.
- Specified by:
getMinimumResourceCapability in interface RegisterApplicationMasterResponse
- Returns:
- minimum capability of allocated resources in the cluster
setMaximumResourceCapability
public void setMaximumResourceCapability(Resource capability)
- Specified by:
setMaximumResourceCapability in interface RegisterApplicationMasterResponse
setMinimumResourceCapability
public void setMinimumResourceCapability(Resource capability)
- Specified by:
setMinimumResourceCapability in interface RegisterApplicationMasterResponse
getApplicationACLs
public Map<ApplicationAccessType,String> getApplicationACLs()
- Description copied from interface:
RegisterApplicationMasterResponse
- Get the
ApplicationACLs for the application.
- Specified by:
getApplicationACLs in interface RegisterApplicationMasterResponse
- Returns:
- all the
ApplicationACLs
setApplicationACLs
public void setApplicationACLs(Map<ApplicationAccessType,String> appACLs)
- Description copied from interface:
RegisterApplicationMasterResponse
- Set the
ApplicationACLs for the application.
- Specified by:
setApplicationACLs in interface RegisterApplicationMasterResponse
Copyright © 2012 Apache Software Foundation. All Rights Reserved.