public static enum BasicSchedulerConfig.Field extends java.lang.Enum<BasicSchedulerConfig.Field> implements ConfigField
| Enum Constant and Description |
|---|
NUM_WORKERS_ANALYSIS
how many worker threads to use for analysis tasks
|
NUM_WORKERS_FAST_TRACK_ANALYSIS
how many worker threads to use for fast-track analysis tasks
|
NUM_WORKERS_IO
how many worker threads to use for I/O tasks (load/refresh/write from/to disk).
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getDefaultVal()
Gets the default value of this field.
|
java.util.List<java.lang.String> |
getKeyAliases()
Gets the key aliases of this field which are also recognized during parsing.
|
java.util.List<java.lang.String> |
getSingletonListKeyAliases()
Gets the key aliases of this field which contain single values for lists and are also recognized during parsing.
|
java.lang.Class<?> |
getType()
Gets the type of this field.
|
boolean |
isArray()
Checks if this field is an array.
|
boolean |
isPath()
Checks if this field is a path.
|
boolean |
isRequired()
Checks if this field is required.
|
java.lang.String |
toKey()
Get the key of this field, which is how this field is represented in serialized form.
|
java.lang.String |
toString() |
static BasicSchedulerConfig.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BasicSchedulerConfig.Field[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOfisEnum, isPrimitivepublic static final BasicSchedulerConfig.Field NUM_WORKERS_ANALYSIS
public static final BasicSchedulerConfig.Field NUM_WORKERS_FAST_TRACK_ANALYSIS
public static final BasicSchedulerConfig.Field NUM_WORKERS_IO
public java.lang.Object getDefaultVal()
ConfigFieldgetDefaultVal in interface ConfigFieldpublic java.util.List<java.lang.String> getKeyAliases()
ConfigFieldgetKeyAliases in interface ConfigFieldpublic java.util.List<java.lang.String> getSingletonListKeyAliases()
ConfigFieldgetSingletonListKeyAliases in interface ConfigFieldpublic java.lang.Class<?> getType()
ConfigFieldgetType in interface ConfigFieldpublic boolean isArray()
ConfigFieldisArray in interface ConfigFieldpublic boolean isPath()
ConfigFieldisPath in interface ConfigFieldpublic boolean isRequired()
ConfigFieldisRequired in interface ConfigFieldpublic java.lang.String toKey()
ConfigFieldtoKey in interface ConfigFieldpublic java.lang.String toString()
toString in class java.lang.Enum<BasicSchedulerConfig.Field>public static BasicSchedulerConfig.Field 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 BasicSchedulerConfig.Field[] values()
for (BasicSchedulerConfig.Field c : BasicSchedulerConfig.Field.values())
System.out.println(c);
Copyright © 2017 Oracle Corp. All Rights Reserved.