public enum ExecutionEnvironmentField extends java.lang.Enum<ExecutionEnvironmentField>
| Enum Constant and Description |
|---|
ALLOW_MULTIPLE_CONCURRENT_TASKS |
MAX_NUM_THREADS
Wrapper for
Field.MAX_THREADS, must be a positive integer |
NUM_THREADS_PER_TASK
Wrapper for
NUM_IO_THREADS_PER_TASK, must be a positive integer |
PRIORITY
Wrapper for
Field.PRIORITY, no validators |
UPDATE_CONSISTENCY_MODEL
Wrapper for
PgxConfig.Field.DEFAULT_IN_PLACE_UPDATE_CONSISTENCY_MODEL, no validators |
WEIGHT
Wrapper for
Field.WEIGHT, must be a positive integer |
| Modifier and Type | Method and Description |
|---|---|
void |
checkType(java.lang.Object o)
Checks that a given type matches the type of
o |
ConfigField |
getField() |
<T extends ConfigField> |
getField(java.lang.Class<T> expectedClass)
gets the
ConfigField, ensuring it is of type expectedClass |
java.lang.Class<?> |
getType() |
boolean |
isPoolBound() |
static ExecutionEnvironmentField |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionEnvironmentField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
verify(java.lang.Object value)
checks that the type matches the one of
value and then checks the validity using the provided validators |
public static final ExecutionEnvironmentField ALLOW_MULTIPLE_CONCURRENT_TASKS
public static final ExecutionEnvironmentField MAX_NUM_THREADS
Field.MAX_THREADS, must be a positive integerpublic static final ExecutionEnvironmentField NUM_THREADS_PER_TASK
NUM_IO_THREADS_PER_TASK, must be a positive integerpublic static final ExecutionEnvironmentField PRIORITY
Field.PRIORITY, no validatorspublic static final ExecutionEnvironmentField UPDATE_CONSISTENCY_MODEL
PgxConfig.Field.DEFAULT_IN_PLACE_UPDATE_CONSISTENCY_MODEL, no validatorspublic static final ExecutionEnvironmentField WEIGHT
Field.WEIGHT, must be a positive integerpublic void checkType(java.lang.Object o)
oo - an object of the type that is checked againstjava.lang.IllegalArgumentException - if field is not assignable to the type of opublic ConfigField getField()
ConfigFieldpublic <T extends ConfigField> T getField(java.lang.Class<T> expectedClass)
ConfigField, ensuring it is of type expectedClassexpectedClass - the expected class of the ConfigFieldfield cast to the expected classjava.lang.IllegalArgumentException - if field is not assignable to expectedClasspublic java.lang.Class<?> getType()
public boolean isPoolBound()
public static ExecutionEnvironmentField 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 namejava.lang.NullPointerException - if the argument is nullpublic static ExecutionEnvironmentField[] values()
for (ExecutionEnvironmentField c : ExecutionEnvironmentField.values()) System.out.println(c);
public void verify(java.lang.Object value)
value and then checks the validity using the provided validators