Class GetReservationHomeSubClusterRequest
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetReservationHomeSubClusterRequest
- Direct Known Subclasses:
GetReservationHomeSubClusterRequestPBImpl
Request class to obtain the home sub-cluster for the specified
ReservationId.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.hadoop.yarn.api.records.ReservationIdGet theReservationIdrepresenting the unique identifier of the application.newInstance(org.apache.hadoop.yarn.api.records.ReservationId reservationId) abstract voidsetReservationId(org.apache.hadoop.yarn.api.records.ReservationId reservationId) Set theReservationIdrepresenting the unique identifier of the application.
-
Constructor Details
-
GetReservationHomeSubClusterRequest
public GetReservationHomeSubClusterRequest()
-
-
Method Details
-
newInstance
@Private @Unstable public static GetReservationHomeSubClusterRequest newInstance(org.apache.hadoop.yarn.api.records.ReservationId reservationId) -
getReservationId
@Public @Unstable public abstract org.apache.hadoop.yarn.api.records.ReservationId getReservationId()Get theReservationIdrepresenting the unique identifier of the application.- Returns:
- the application identifier
-
setReservationId
@Private @Unstable public abstract void setReservationId(org.apache.hadoop.yarn.api.records.ReservationId reservationId) Set theReservationIdrepresenting the unique identifier of the application.- Parameters:
reservationId- the reservatopm identifier
-