Class GetReservationsHomeSubClusterResponse
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetReservationsHomeSubClusterResponse
- Direct Known Subclasses:
GetReservationsHomeSubClusterResponsePBImpl
The response sent by Federation state
store to a query for the home subcluster of all submitted
reservations.
The response includes the mapping details, i.e.:
ReservationIdSubClusterId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<ReservationHomeSubCluster>Get theReservationHomeSubClusterlist representing the mapping of all submitted reservations to it's home sub-cluster.newInstance(List<ReservationHomeSubCluster> appsHomeSubClusters) abstract voidsetAppsHomeSubClusters(List<ReservationHomeSubCluster> reservationsHomeSubClusters) Set theReservationHomeSubClusterlist representing the mapping of all submitted reservations to it's home sub-cluster.
-
Constructor Details
-
GetReservationsHomeSubClusterResponse
public GetReservationsHomeSubClusterResponse()
-
-
Method Details
-
newInstance
@Private @Unstable public static GetReservationsHomeSubClusterResponse newInstance(List<ReservationHomeSubCluster> appsHomeSubClusters) -
getAppsHomeSubClusters
Get theReservationHomeSubClusterlist representing the mapping of all submitted reservations to it's home sub-cluster.- Returns:
- the mapping of all submitted reservation to it's home sub-cluster.
-
setAppsHomeSubClusters
@Private @Unstable public abstract void setAppsHomeSubClusters(List<ReservationHomeSubCluster> reservationsHomeSubClusters) Set theReservationHomeSubClusterlist representing the mapping of all submitted reservations to it's home sub-cluster.- Parameters:
reservationsHomeSubClusters- the mapping of all submitted reservation to it's home sub-cluster.
-