Class GetResourceProfileResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetResourceProfileResponse
Response class for getting the details for a particular resource profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract ResourceGet the resources that will be allocated if the profile was used.inthashCode()static GetResourceProfileResponseabstract voidSet the resources that will be allocated if the profile is used.
-
Constructor Details
-
GetResourceProfileResponse
public GetResourceProfileResponse()
-
-
Method Details
-
newInstance
-
getResource
Get the resources that will be allocated if the profile was used.- Returns:
- the resources that will be allocated if the profile was used.
-
setResource
Set the resources that will be allocated if the profile is used.- Parameters:
r- Set the resources that will be allocated if the profile is used.
-
equals
-
hashCode
public int hashCode()
-