Class GetSubClusterInfoResponse
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterInfoResponse
- Direct Known Subclasses:
GetSubClusterInfoResponsePBImpl
Response to a query with
SubClusterInfo about a sub-cluster.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SubClusterInfoGet theSubClusterInfoencapsulating the information about the sub-cluster.static GetSubClusterInfoResponsenewInstance(SubClusterInfo subClusterInfo) abstract voidsetSubClusterInfo(SubClusterInfo subClusterInfo) Set theSubClusterInfoencapsulating the information about the sub-cluster.
-
Constructor Details
-
GetSubClusterInfoResponse
public GetSubClusterInfoResponse()
-
-
Method Details
-
newInstance
@Private @Unstable public static GetSubClusterInfoResponse newInstance(SubClusterInfo subClusterInfo) -
getSubClusterInfo
Get theSubClusterInfoencapsulating the information about the sub-cluster.- Returns:
- the information pertaining to the sub-cluster
-
setSubClusterInfo
Set theSubClusterInfoencapsulating the information about the sub-cluster.- Parameters:
subClusterInfo- the information pertaining to the sub-cluster
-