|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.api.protocolrecords.GetNewApplicationResponse
@InterfaceAudience.Public @InterfaceStability.Stable public abstract class GetNewApplicationResponse
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.
ApplicationClientProtocol.getNewApplication(GetNewApplicationRequest)| Constructor Summary | |
|---|---|
GetNewApplicationResponse()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GetNewApplicationResponse()
| Method Detail |
|---|
@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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||