Enum Class DistributedDataConfig.DistributedDataConfigValue
java.lang.Object
java.lang.Enum<DistributedDataConfig.DistributedDataConfigValue>
org.eclipse.ditto.internal.utils.ddata.DistributedDataConfig.DistributedDataConfigValue
- All Implemented Interfaces:
Serializable,Comparable<DistributedDataConfig.DistributedDataConfigValue>,Constable,KnownConfigValue,WithConfigPath
- Enclosing interface:
DistributedDataConfig
public static enum DistributedDataConfig.DistributedDataConfigValue
extends Enum<DistributedDataConfig.DistributedDataConfigValue>
implements KnownConfigValue
An enumeration of the known config path expressions and their associated default values for
DistributedDataConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe number of shards Ditto's ddata extension applies for Map keys.The read timeout duration: the timeout of GET-messages of the replicator.The number of subscribers in each subscriber pool.Local delay for topic subscription to account for replication and notification delay.The write consistency of subscriptions.The write timeout duration: the timeout of UPDATE-messages of the replicator. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READ_TIMEOUT
The read timeout duration: the timeout of GET-messages of the replicator. -
WRITE_TIMEOUT
The write timeout duration: the timeout of UPDATE-messages of the replicator. -
SUBSCRIPTION_WRITE_CONSISTENCY
The write consistency of subscriptions. -
SUBSCRIPTION_DELAY
Local delay for topic subscription to account for replication and notification delay. -
NUMBER_OF_SHARDS
The number of shards Ditto's ddata extension applies for Map keys. -
SUBSCRIBER_POOL_SIZE
The number of subscribers in each subscriber pool.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getConfigPath
- Specified by:
getConfigPathin interfaceWithConfigPath
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceKnownConfigValue
-