|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.api.protocolrecords.ReservationSubmissionRequest
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class ReservationSubmissionRequest
ReservationSubmissionRequest captures the set of requirements the
user has to create a reservation.
ReservationDefinition| Constructor Summary | |
|---|---|
ReservationSubmissionRequest()
|
|
| Method Summary | |
|---|---|
abstract String |
getQueue()
Get the name of the Plan that corresponds to the name of the
QueueInfo in the scheduler to which the reservation will be
submitted to. |
abstract ReservationDefinition |
getReservationDefinition()
Get the ReservationDefinition representing the user constraints for
this reservation |
static ReservationSubmissionRequest |
newInstance(ReservationDefinition reservationDefinition,
String queueName)
|
abstract void |
setQueue(String queueName)
Set the name of the Plan that corresponds to the name of the
QueueInfo in the scheduler to which the reservation will be
submitted to |
abstract void |
setReservationDefinition(ReservationDefinition reservationDefinition)
Set the ReservationDefinition representing the user constraints for
this reservation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReservationSubmissionRequest()
| Method Detail |
|---|
@InterfaceAudience.Public
@InterfaceStability.Unstable
public static ReservationSubmissionRequest newInstance(ReservationDefinition reservationDefinition,
String queueName)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ReservationDefinition getReservationDefinition()
ReservationDefinition representing the user constraints for
this reservation
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setReservationDefinition(ReservationDefinition reservationDefinition)
ReservationDefinition representing the user constraints for
this reservation
reservationDefinition - the reservation request representing the
reservation@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getQueue()
Plan that corresponds to the name of the
QueueInfo in the scheduler to which the reservation will be
submitted to.
Plan that corresponds to the name of the
QueueInfo in the scheduler to which the reservation will be
submitted to@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setQueue(String queueName)
Plan that corresponds to the name of the
QueueInfo in the scheduler to which the reservation will be
submitted to
queueName - the name of the parent Plan that corresponds to
the name of the QueueInfo in the scheduler to which the
reservation will be submitted to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||