|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ReservationAllocation | |
|---|---|
| org.apache.hadoop.yarn.server.resourcemanager.reservation | |
| Uses of ReservationAllocation in org.apache.hadoop.yarn.server.resourcemanager.reservation |
|---|
| Methods in org.apache.hadoop.yarn.server.resourcemanager.reservation that return ReservationAllocation | |
|---|---|
ReservationAllocation |
PlanView.getReservationById(org.apache.hadoop.yarn.api.records.ReservationId reservationID)
Return a ReservationAllocation identified by its
ReservationId |
| Methods in org.apache.hadoop.yarn.server.resourcemanager.reservation that return types with arguments of type ReservationAllocation | |
|---|---|
Set<ReservationAllocation> |
PlanView.getAllReservations()
Gets all the reservations in the plan |
Set<ReservationAllocation> |
PlanView.getReservationsAtTime(long tick)
Gets all the active reservations at the specified point of time |
| Methods in org.apache.hadoop.yarn.server.resourcemanager.reservation with parameters of type ReservationAllocation | |
|---|---|
boolean |
PlanEdit.addReservation(ReservationAllocation reservation)
Add a new ReservationAllocation to the plan |
boolean |
PlanEdit.updateReservation(ReservationAllocation reservation)
Updates an existing ReservationAllocation in the plan. |
void |
SharingPolicy.validate(Plan plan,
ReservationAllocation newAllocation)
This method runs the policy validation logic, and return true/false on whether the ReservationAllocation is acceptable according to this
sharing policy. |
void |
NoOverCommitPolicy.validate(Plan plan,
ReservationAllocation reservation)
|
void |
CapacityOverTimePolicy.validate(Plan plan,
ReservationAllocation reservation)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||