Class ReservationDeleteRequest
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.ReservationDeleteRequest
ReservationDeleteRequest captures the set of requirements the user
has to delete an existing reservation.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ReservationIdGet theReservationId, that corresponds to a valid resource allocation in the scheduler (between start and end time of this reservation)static ReservationDeleteRequestnewInstance(ReservationId reservationId) abstract voidsetReservationId(ReservationId reservationId) Set theReservationId, that correspond to a valid resource allocation in the scheduler (between start and end time of this reservation)
-
Constructor Details
-
ReservationDeleteRequest
public ReservationDeleteRequest()
-
-
Method Details
-
newInstance
-
getReservationId
Get theReservationId, that corresponds to a valid resource allocation in the scheduler (between start and end time of this reservation)- Returns:
- the
ReservationIdrepresenting the unique id of the corresponding reserved resource allocation in the scheduler
-
setReservationId
Set theReservationId, that correspond to a valid resource allocation in the scheduler (between start and end time of this reservation)- Parameters:
reservationId- theReservationIdrepresenting the the unique id of the corresponding reserved resource allocation in the scheduler
-