@Public
@Unstable
public abstract class GetNewReservationResponse
extends java.lang.Object
The response sent by the ResourceManager to the client for
a request to get a new ReservationId for submitting reservations.
Clients can submit an reservation with the returned
ReservationId.
ApplicationClientProtocol#getNewReservation(GetNewReservationRequest)| Constructor | Description |
|---|---|
GetNewReservationResponse() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract ReservationId |
getReservationId() |
Get a new
ReservationId to be used to submit a reservation. |
static GetNewReservationResponse |
newInstance(ReservationId reservationId) |
|
abstract void |
setReservationId(ReservationId reservationId) |
Set a new
ReservationId to be used to submit a reservation. |
@Private @Unstable public static GetNewReservationResponse newInstance(ReservationId reservationId)
@Public @Unstable public abstract ReservationId getReservationId()
ReservationId to be used to submit a reservation.ReservationId representing the unique id to identify
a reservation with which it was submitted.@Private @Unstable public abstract void setReservationId(ReservationId reservationId)
ReservationId to be used to submit a reservation.reservationId - a ReservationId representing the unique id to
identify a reservation with which it was submitted.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.