@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() |
newInstance
public GetNewApplicationResponsePBImpl()
public GetNewApplicationResponsePBImpl(YarnServiceProtos.GetNewApplicationResponseProto proto)
public YarnServiceProtos.GetNewApplicationResponseProto getProto()
public ApplicationId getApplicationId()
GetNewApplicationResponse
ApplicationId
allocated by the
ResourceManager
.getApplicationId
in class GetNewApplicationResponse
ApplicationId
allocated by the
ResourceManager
public void setApplicationId(ApplicationId applicationId)
setApplicationId
in class GetNewApplicationResponse
public Resource getMaximumResourceCapability()
GetNewApplicationResponse
Resource
allocated by the
ResourceManager
in the cluster.getMaximumResourceCapability
in class GetNewApplicationResponse
public void setMaximumResourceCapability(Resource capability)
setMaximumResourceCapability
in class GetNewApplicationResponse
Copyright © 2013 Apache Software Foundation. All rights reserved.