| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | |
| org.apache.hadoop.yarn.api.records | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ReservationId | ReservationDeleteRequest. getReservationId()Get the  ReservationId, that corresponds to a valid resource
 allocation in the scheduler (between start and end time of this
 reservation) | 
| abstract ReservationId | GetNewReservationResponse. getReservationId()Get a new  ReservationIdto be used to submit a reservation. | 
| abstract ReservationId | ReservationSubmissionRequest. getReservationId()Get the reservation id that corresponds to the reservation submission. | 
| abstract ReservationId | ReservationUpdateRequest. getReservationId()Get the  ReservationId, that corresponds to a valid resource
 allocation in the scheduler (between start and end time of this
 reservation) | 
| Modifier and Type | Method and Description | 
|---|---|
| static ReservationUpdateRequest | ReservationUpdateRequest. newInstance(ReservationDefinition reservationDefinition,
           ReservationId reservationId) | 
| static ReservationSubmissionRequest | ReservationSubmissionRequest. newInstance(ReservationDefinition reservationDefinition,
           String queueName,
           ReservationId reservationId) | 
| static ReservationDeleteRequest | ReservationDeleteRequest. newInstance(ReservationId reservationId) | 
| static GetNewReservationResponse | GetNewReservationResponse. newInstance(ReservationId reservationId) | 
| abstract void | ReservationDeleteRequest. setReservationId(ReservationId reservationId)Set the  ReservationId, that correspond to a valid resource
 allocation in the scheduler (between start and end time of this
 reservation) | 
| abstract void | GetNewReservationResponse. setReservationId(ReservationId reservationId)Set a new  ReservationIdto be used to submit a reservation. | 
| abstract void | ReservationSubmissionRequest. setReservationId(ReservationId reservationId)Set the reservation id that corresponds to the reservation submission. | 
| abstract void | ReservationUpdateRequest. setReservationId(ReservationId reservationId)Set the  ReservationId, that correspond to a valid resource
 allocation in the scheduler (between start and end time of this
 reservation) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ReservationId | ReservationAllocationState. getReservationId()Get the id of the reservation. | 
| abstract ReservationId | ApplicationSubmissionContext. getReservationID()Get the reservation id, that corresponds to a valid resource allocation in
 the scheduler (between start and end time of the corresponding reservation) | 
| static ReservationId | ReservationId. newInstance(long clusterTimestamp,
           long id) | 
| static ReservationId | ReservationId. parseReservationId(String reservationId)Parse the string argument as a  ReservationId | 
| Modifier and Type | Method and Description | 
|---|---|
| int | ReservationId. compareTo(ReservationId other) | 
| static ReservationAllocationState | ReservationAllocationState. newInstance(long acceptanceTime,
           String user,
           List<ResourceAllocationRequest> resourceAllocations,
           ReservationId reservationId,
           ReservationDefinition reservationDefinition) | 
| abstract void | ReservationAllocationState. setReservationId(ReservationId reservationId)Set the id corresponding to the reservation. | 
| abstract void | ApplicationSubmissionContext. setReservationID(ReservationId reservationID)Set the reservation id, that correspond to a valid resource allocation in
 the scheduler (between start and end time of the corresponding reservation) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.