@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
ApplicationId allocated by the
ResourceManager . |
abstract Resource |
getMaximumResourceCapability()
Get the maximum capability for any
Resource allocated by the
ResourceManager in the cluster. |
public GetNewApplicationResponse()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract ApplicationId getApplicationId()
ApplicationId
allocated by the
ResourceManager
.ApplicationId
allocated by the
ResourceManager
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Resource getMaximumResourceCapability()
Resource
allocated by the
ResourceManager
in the cluster.Copyright © 2015 Apache Software Foundation. All Rights Reserved.