@ThriftEnum public enum SchedulingPolicy extends Enum<SchedulingPolicy>
| Enum Constant and Description |
|---|
FAIR |
QUERY_PRIORITY |
WEIGHTED |
WEIGHTED_FAIR |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static SchedulingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedulingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulingPolicy FAIR
public static final SchedulingPolicy WEIGHTED
public static final SchedulingPolicy WEIGHTED_FAIR
public static final SchedulingPolicy QUERY_PRIORITY
public static SchedulingPolicy[] values()
for (SchedulingPolicy c : SchedulingPolicy.values()) System.out.println(c);
public static SchedulingPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@ThriftEnumValue public int getValue()
Copyright © 2012–2022. All rights reserved.