@Public
@Stable
public abstract class GetNewApplicationResponse
extends java.lang.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 | Description |
|---|---|
GetNewApplicationResponse() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract ApplicationId |
getApplicationId() |
Get the new
ApplicationId allocated by the
ResourceManager. |
abstract Resource |
getMaximumResourceCapability() |
Get the maximum capability for any
Resource allocated by the
ResourceManager in the cluster. |
static GetNewApplicationResponse |
newInstance(ApplicationId applicationId,
Resource minCapability,
Resource maxCapability) |
|
abstract void |
setApplicationId(ApplicationId applicationId) |
|
abstract void |
setMaximumResourceCapability(Resource capability) |
@Private @Unstable public static GetNewApplicationResponse newInstance(ApplicationId applicationId, Resource minCapability, Resource maxCapability)
@Public @Stable public abstract ApplicationId getApplicationId()
ApplicationId allocated by the
ResourceManager.ApplicationId allocated by the
ResourceManager@Private @Unstable public abstract void setApplicationId(ApplicationId applicationId)
@Public @Stable public abstract Resource getMaximumResourceCapability()
Resource allocated by the
ResourceManager in the cluster.@Private @Unstable public abstract void setMaximumResourceCapability(Resource capability)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.