Enum StreamingConfig.StreamingConfigValue
- java.lang.Object
-
- java.lang.Enum<StreamingConfig.StreamingConfigValue>
-
- org.eclipse.ditto.services.gateway.streaming.StreamingConfig.StreamingConfigValue
-
- All Implemented Interfaces:
Serializable,Comparable<StreamingConfig.StreamingConfigValue>,org.eclipse.ditto.services.utils.config.KnownConfigValue,org.eclipse.ditto.services.utils.config.WithConfigPath
- Enclosing interface:
- StreamingConfig
public static enum StreamingConfig.StreamingConfigValue extends Enum<StreamingConfig.StreamingConfigValue> implements org.eclipse.ditto.services.utils.config.KnownConfigValue
An enumeration of the known config path expressions and their associated default values forStreamingConfig.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PARALLELISMMaximum number of stream elements to process in parallel.SESSION_COUNTER_SCRAPE_INTERVALHow often to update websocket session counter by counting child actors.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConfigPath()ObjectgetDefaultValue()static StreamingConfig.StreamingConfigValuevalueOf(String name)Returns the enum constant of this type with the specified name.static StreamingConfig.StreamingConfigValue[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SESSION_COUNTER_SCRAPE_INTERVAL
public static final StreamingConfig.StreamingConfigValue SESSION_COUNTER_SCRAPE_INTERVAL
How often to update websocket session counter by counting child actors.
-
PARALLELISM
public static final StreamingConfig.StreamingConfigValue PARALLELISM
Maximum number of stream elements to process in parallel.
-
-
Method Detail
-
values
public static StreamingConfig.StreamingConfigValue[] 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 (StreamingConfig.StreamingConfigValue c : StreamingConfig.StreamingConfigValue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamingConfig.StreamingConfigValue 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
-
getDefaultValue
public Object getDefaultValue()
- Specified by:
getDefaultValuein interfaceorg.eclipse.ditto.services.utils.config.KnownConfigValue
-
getConfigPath
public String getConfigPath()
- Specified by:
getConfigPathin interfaceorg.eclipse.ditto.services.utils.config.WithConfigPath
-
-