|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.api.records.ReservationRequests
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class ReservationRequests
ReservationRequests captures the set of resource and constraints the
user cares about regarding a reservation.
ReservationRequest| Constructor Summary | |
|---|---|
ReservationRequests()
|
|
| Method Summary | |
|---|---|
abstract ReservationRequestInterpreter |
getInterpreter()
Get the ReservationRequestInterpreter, representing how the list of
resources should be allocated, this captures temporal ordering and other
constraints. |
abstract List<ReservationRequest> |
getReservationResources()
Get the list of ReservationRequest representing the resources
required by the application |
static ReservationRequests |
newInstance(List<ReservationRequest> reservationResources,
ReservationRequestInterpreter type)
|
abstract void |
setInterpreter(ReservationRequestInterpreter interpreter)
Set the ReservationRequestInterpreter, representing how the list of
resources should be allocated, this captures temporal ordering and other
constraints. |
abstract void |
setReservationResources(List<ReservationRequest> reservationResources)
Set the list of ReservationRequest representing the resources
required by the application |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReservationRequests()
| Method Detail |
|---|
@InterfaceAudience.Public
@InterfaceStability.Unstable
public static ReservationRequests newInstance(List<ReservationRequest> reservationResources,
ReservationRequestInterpreter type)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract List<ReservationRequest> getReservationResources()
ReservationRequest representing the resources
required by the application
ReservationRequest@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setReservationResources(List<ReservationRequest> reservationResources)
ReservationRequest representing the resources
required by the application
reservationResources - the list of ReservationRequest@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ReservationRequestInterpreter getInterpreter()
ReservationRequestInterpreter, representing how the list of
resources should be allocated, this captures temporal ordering and other
constraints.
ReservationRequestInterpreter@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setInterpreter(ReservationRequestInterpreter interpreter)
ReservationRequestInterpreter, representing how the list of
resources should be allocated, this captures temporal ordering and other
constraints.
interpreter - the ReservationRequestInterpreter for this
reservation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||