@InterfaceAudience.Private @InterfaceStability.Unstable public class GetNewApplicationResponsePBImpl extends GetNewApplicationResponse
| Constructor and Description |
|---|
GetNewApplicationResponsePBImpl() |
GetNewApplicationResponsePBImpl(YarnServiceProtos.GetNewApplicationResponseProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
ApplicationId |
getApplicationId()
Get the new
ApplicationId allocated by the
ResourceManager. |
Resource |
getMaximumResourceCapability()
Get the maximum capability for any
Resource allocated by the
ResourceManager in the cluster. |
YarnServiceProtos.GetNewApplicationResponseProto |
getProto() |
int |
hashCode() |
void |
setApplicationId(ApplicationId applicationId) |
void |
setMaximumResourceCapability(Resource capability) |
String |
toString() |
newInstancepublic GetNewApplicationResponsePBImpl()
public GetNewApplicationResponsePBImpl(YarnServiceProtos.GetNewApplicationResponseProto proto)
public YarnServiceProtos.GetNewApplicationResponseProto getProto()
public ApplicationId getApplicationId()
GetNewApplicationResponseApplicationId allocated by the
ResourceManager.getApplicationId in class GetNewApplicationResponseApplicationId allocated by the
ResourceManagerpublic void setApplicationId(ApplicationId applicationId)
setApplicationId in class GetNewApplicationResponsepublic Resource getMaximumResourceCapability()
GetNewApplicationResponseResource allocated by the
ResourceManager in the cluster.getMaximumResourceCapability in class GetNewApplicationResponsepublic void setMaximumResourceCapability(Resource capability)
setMaximumResourceCapability in class GetNewApplicationResponseCopyright © 2013 Apache Software Foundation. All rights reserved.