Class GetReservationHomeSubClusterResponse
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetReservationHomeSubClusterResponse
- Direct Known Subclasses:
GetReservationHomeSubClusterResponsePBImpl
The response sent by Federation state
store to a query for the home subcluster of a newly submitted
reservation.
The request includes the mapping details, i.e.:
ReservationIdSubClusterId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ReservationHomeSubClusterGet theReservationHomeSubClusterrepresenting the mapping of the Reservation to it's home sub-cluster.newInstance(ReservationHomeSubCluster reservationHomeSubCluster) abstract voidsetReservationHomeSubCluster(ReservationHomeSubCluster reservationHomeSubCluster) Set theReservationHomeSubClusterrepresenting the mapping of the Reservation to it's home sub-cluster.
-
Constructor Details
-
GetReservationHomeSubClusterResponse
public GetReservationHomeSubClusterResponse()
-
-
Method Details
-
newInstance
@Private @Unstable public static GetReservationHomeSubClusterResponse newInstance(ReservationHomeSubCluster reservationHomeSubCluster) -
getReservationHomeSubCluster
Get theReservationHomeSubClusterrepresenting the mapping of the Reservation to it's home sub-cluster.- Returns:
- the mapping of the reservation to it's home sub-cluster.
-
setReservationHomeSubCluster
@Private @Unstable public abstract void setReservationHomeSubCluster(ReservationHomeSubCluster reservationHomeSubCluster) Set theReservationHomeSubClusterrepresenting the mapping of the Reservation to it's home sub-cluster.- Parameters:
reservationHomeSubCluster- the mapping of the reservation to it's home sub-cluster.
-