Package io.prestosql.execution.scheduler
Enum ScheduleResult.BlockedReason
- java.lang.Object
-
- java.lang.Enum<ScheduleResult.BlockedReason>
-
- io.prestosql.execution.scheduler.ScheduleResult.BlockedReason
-
- All Implemented Interfaces:
Serializable
,Comparable<ScheduleResult.BlockedReason>
- Enclosing class:
- ScheduleResult
public static enum ScheduleResult.BlockedReason extends Enum<ScheduleResult.BlockedReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MIXED_SPLIT_QUEUES_FULL_AND_WAITING_FOR_SOURCE
NO_ACTIVE_DRIVER_GROUP
SPLIT_QUEUES_FULL
WAITING_FOR_SOURCE
WRITER_SCALING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleResult.BlockedReason
combineWith(ScheduleResult.BlockedReason other)
static ScheduleResult.BlockedReason
valueOf(String name)
Returns the enum constant of this type with the specified name.static ScheduleResult.BlockedReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WRITER_SCALING
public static final ScheduleResult.BlockedReason WRITER_SCALING
-
NO_ACTIVE_DRIVER_GROUP
public static final ScheduleResult.BlockedReason NO_ACTIVE_DRIVER_GROUP
-
SPLIT_QUEUES_FULL
public static final ScheduleResult.BlockedReason SPLIT_QUEUES_FULL
-
WAITING_FOR_SOURCE
public static final ScheduleResult.BlockedReason WAITING_FOR_SOURCE
-
MIXED_SPLIT_QUEUES_FULL_AND_WAITING_FOR_SOURCE
public static final ScheduleResult.BlockedReason MIXED_SPLIT_QUEUES_FULL_AND_WAITING_FOR_SOURCE
-
-
Method Detail
-
values
public static ScheduleResult.BlockedReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ScheduleResult.BlockedReason c : ScheduleResult.BlockedReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScheduleResult.BlockedReason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
combineWith
public ScheduleResult.BlockedReason combineWith(ScheduleResult.BlockedReason other)
-
-