@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class ReservationRequests extends Object
ReservationRequests
captures the set of resource and constraints the
user cares about regarding a reservation.ReservationRequest
Constructor and Description |
---|
ReservationRequests() |
Modifier and Type | Method and Description |
---|---|
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 |
public ReservationRequests()
@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 applicationReservationRequest
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setReservationResources(List<ReservationRequest> reservationResources)
ReservationRequest
representing the resources
required by the applicationreservationResources
- 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
reservationCopyright © 2016 Apache Software Foundation. All rights reserved.