|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ReservationFlag>
com.ace.moab.api.reservation.ReservationFlag
public enum ReservationFlag
This enumeration specifies the Reservation flag types of a reservation.
Enum Constant Summary | |
---|---|
ACLOVERLAP
A reservation may also reserve resources that possess credentials that meet the reservation's ACL. |
|
ADVRES
If set, the reservation is created in advance of needing it. |
|
ADVRESJOBDESTROY
Cancel any jobs associated with the reservation when it is released. |
|
ALLOWGRID
The reservation is set up for use in a grid environment. |
|
ALLOWPRSV
Personal reservations can be created within the space of this standing reservation (and ONLY this standing reservation); by default, when a standing reservation is given the flag ALLOWPRSV it is given the ACL USER==ALL+ allowing all jobs and all users access. |
|
BYNAME
Reservation only allows access to jobs that meet reservation ACLs and explicitly request the resources of this reservation using the job ADVRES flag. |
|
DEDICATEDNODE
If set, only one active reservation is allowed on a node. |
|
DEDICATEDRESOURCE
The reservation only placed on resources that are not reserved by any other reservation including jobs and other reservations. |
|
ENFORCENODESET
Enforce node sets when creating reservation |
|
EXCLUDEALLBUTSB
Reservation only shares resources with sandboxes. |
|
EXCLUDEJOBS
Makes a reservation job exclusive where only one job can run in the reservation. |
|
EXCLUDEMYGROUP
Exclude reservations within the same group |
|
GRID
The reservation was created by a member in the grid. |
|
IGNRSV
Forces the reservation onto nodes regardless of whether there are other reservations currently residing on the nodes. |
|
IGNSTATE
Request ignores existing resource reservations allowing the reservation to be forced onto available resources even if this conflicts with other reservations. |
|
ISACTIVE
If set, the reservation is currently active. |
|
ISCLOSED
If set, the reservation is closed. |
|
ISGLOBAL
If set the reservation applies to all resources. |
|
OWNERPREEMPT
The owner of the reservation is given preemptor status for resources contained in the reservation. |
|
PARENTLOCK
The reservation can only be destroyed by destroying its parent. |
|
PREEMPTEE
The reservation is preemptible. |
|
PRSV
The reservation is a non-adminstrator, non standing reservation, user-created reservation. |
|
REQFULL
The reservation will fail if all resources requested cannot be allocated. |
|
SINGLEUSE
The reservation is automatically removed after completion of the first job to use the reserved resources. |
|
SPACEFLEX
The reservation is allowed to adjust resources allocated over time in an attempt to optimize resource utilization. |
|
STANDINGRSV
If set, the reservation was created by a standing reservation instance. |
|
STATIC
Makes a reservation ineligible to modified or canceled by an administrator. |
|
SYSTEMJOB
The reservation was created by a system job. |
|
TIMEFLEX
The reservation is allowed to adjust the reserved time frame in an attempt to optimize resource utilization. |
|
TRIGHASFIRED
The reservation has one or more triggers that have fired on it. |
|
VPC
If set, the reservation is attached to a virtual private cluster. |
|
WASACTIVE
The reservation was previously active. |
Method Summary | |
---|---|
static java.util.List<java.lang.String> |
getflagNames()
Returns a list of the names of the reservation flags. |
static ReservationFlag |
parseString(java.lang.String string)
Attempts to parse a string and convert it into a corresponding ReservationFlag enum value. |
static ReservationFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ReservationFlag[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ReservationFlag ACLOVERLAP
public static final ReservationFlag ADVRES
public static final ReservationFlag ADVRESJOBDESTROY
public static final ReservationFlag ALLOWGRID
public static final ReservationFlag ALLOWPRSV
public static final ReservationFlag BYNAME
public static final ReservationFlag DEDICATEDNODE
public static final ReservationFlag DEDICATEDRESOURCE
public static final ReservationFlag EXCLUDEJOBS
public static final ReservationFlag ENFORCENODESET
public static final ReservationFlag EXCLUDEALLBUTSB
public static final ReservationFlag EXCLUDEMYGROUP
public static final ReservationFlag GRID
public static final ReservationFlag IGNRSV
public static final ReservationFlag IGNSTATE
public static final ReservationFlag ISACTIVE
public static final ReservationFlag ISCLOSED
public static final ReservationFlag ISGLOBAL
public static final ReservationFlag OWNERPREEMPT
public static final ReservationFlag PARENTLOCK
public static final ReservationFlag PREEMPTEE
public static final ReservationFlag PRSV
public static final ReservationFlag REQFULL
public static final ReservationFlag SINGLEUSE
public static final ReservationFlag SPACEFLEX
public static final ReservationFlag STANDINGRSV
public static final ReservationFlag STATIC
public static final ReservationFlag SYSTEMJOB
public static final ReservationFlag TIMEFLEX
public static final ReservationFlag TRIGHASFIRED
public static final ReservationFlag VPC
public static final ReservationFlag WASACTIVE
Method Detail |
---|
public static final ReservationFlag[] values()
for(ReservationFlag c : ReservationFlag.values()) System.out.println(c);
public static ReservationFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static java.util.List<java.lang.String> getflagNames()
public static ReservationFlag parseString(java.lang.String string) throws java.text.ParseException
string
- the string to parse into a corresponding ReservationFlag enum
value.
java.text.ParseException
- thrown if the string cannot be parsed into a respective
ReservationFlag.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |