@InterfaceAudience.Public @InterfaceStability.Stable public abstract class GetNewApplicationResponse extends Object
The response sent by the ResourceManager to the client for 
 a request to get a new ApplicationId for submitting applications.
Clients can submit an application with the returned
 ApplicationId.
| Constructor and Description | 
|---|
| GetNewApplicationResponse() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ApplicationId | getApplicationId()Get the new  ApplicationIdallocated by theResourceManager. | 
| abstract Resource | getMaximumResourceCapability()Get the maximum capability for any  Resourceallocated by theResourceManagerin the cluster. | 
| static GetNewApplicationResponse | newInstance(ApplicationId applicationId,
           Resource minCapability,
           Resource maxCapability) | 
| abstract void | setApplicationId(ApplicationId applicationId) | 
| abstract void | setMaximumResourceCapability(Resource capability) | 
@InterfaceAudience.Private @InterfaceStability.Unstable public static GetNewApplicationResponse newInstance(ApplicationId applicationId, Resource minCapability, Resource maxCapability)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract ApplicationId getApplicationId()
ApplicationId allocated by the 
 ResourceManager.ApplicationId allocated by the 
          ResourceManager@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setApplicationId(ApplicationId applicationId)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Resource getMaximumResourceCapability()
Resource allocated by the 
 ResourceManager in the cluster.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setMaximumResourceCapability(Resource capability)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.