@Generated(value="config_generator.py") public class EnterpriseSchedulerConfig extends AbstractConfig
Modifier and Type | Class and Description |
---|---|
static class |
EnterpriseSchedulerConfig.Field
Fields of enterprise scheduler config
|
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
AnalysisTaskConfig |
getAnalysisTaskConfig()
configuration for analysis tasks
|
static EnterpriseSchedulerConfig.Field[] |
getConfigFields() |
AnalysisTaskConfig |
getFastAnalysisTaskConfig()
configuration for fast analysis tasks
|
java.util.Map<java.lang.String,java.lang.Object> |
getLeftoverValues()
Gets the values that do not belong to any field.
|
java.lang.Integer |
getMaxNumConcurrentIoTasks()
maximum number of concurrent io tasks at a time
|
java.lang.Integer |
getNumIoThreadsPerTask()
number of io threads to use per task
|
java.util.Map<EnterpriseSchedulerConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<EnterpriseSchedulerConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
boolean |
hasDefaultValue(EnterpriseSchedulerConfig.Field field)
Checks for default value.
|
boolean |
isEmpty()
Checks if it's empty.
|
static EnterpriseSchedulerConfig |
parse(java.io.InputStream is,
boolean strict,
java.lang.String parentPath)
Parses an input stream.
|
static EnterpriseSchedulerConfig |
parse(java.util.Map<java.lang.String,java.lang.Object> raw,
boolean strict,
java.lang.String parentPath)
Parses a raw key/value mapping.
|
static EnterpriseSchedulerConfig |
parse(java.util.Properties props,
boolean strict)
Parses a properties file.
|
java.lang.String |
toString() |
java.lang.String |
toString(boolean hideSensitiveData) |
getDefault, getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public AnalysisTaskConfig getAnalysisTaskConfig()
public static EnterpriseSchedulerConfig.Field[] getConfigFields()
public AnalysisTaskConfig getFastAnalysisTaskConfig()
public java.util.Map<java.lang.String,java.lang.Object> getLeftoverValues()
public java.lang.Integer getMaxNumConcurrentIoTasks()
public java.lang.Integer getNumIoThreadsPerTask()
public java.util.Map<EnterpriseSchedulerConfig.Field,java.lang.Object> getValues()
getValues
in class AbstractConfig
public java.util.Map<EnterpriseSchedulerConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public boolean hasDefaultValue(EnterpriseSchedulerConfig.Field field)
field
- the fieldpublic boolean isEmpty()
public static EnterpriseSchedulerConfig parse(java.io.InputStream is, boolean strict, java.lang.String parentPath) throws java.io.IOException
is
- the input streamstrict
- if true, parses in strict modeparentPath
- if not null, resolves relative paths against this parentPathjava.io.IOException
- Signals that an I/O exception has occurred.public static EnterpriseSchedulerConfig parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
raw
- the raw key/value mapping to parsestrict
- if true, parses in strict modeparentPath
- if not null, resolves relative paths against this parentPathpublic static EnterpriseSchedulerConfig parse(java.util.Properties props, boolean strict)
props
- the properties to parsestrict
- if true, parses in strict modepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean hideSensitiveData)