Enum Class ValkeyConfigurations
java.lang.Object
java.lang.Enum<ValkeyConfigurations>
org.eclipse.jnosql.databases.valkey.communication.ValkeyConfigurations
- All Implemented Interfaces:
Serializable,Comparable<ValkeyConfigurations>,Constable,Supplier<String>
An enumeration to show the available options to connect to the Redis database.
It implements
Supplier, where its it returns the property name that might be
overwritten by the system environment using Eclipse Microprofile or Jakarta Config API.- See Also:
-
Settings
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe cluster client's name.The value for the clientset info disabled configuration attribute for the jedis client configuration with this configuration instance.The value for the clientset info configuration libname suffix attribute for the jedis client configuration with this configuration instance.The value for the connection timeout in milliseconds configuration attribute for the jedis client configuration created with this configuration instance.The redis database numberThe database hostThe value for the maxIdle configuration attribute for pools created with this configuration instance.The value for the maxTotal configuration attribute for pools created with this configuration instance.The value for themaxWaitconfiguration attribute for pools created with this configuration instance.The value for the minIdle configuration attribute for pools created with this configuration instance.The password's credentialThe database portThe value for the protocol configuration attribute for the jedis client configuration with this configuration instance.The value for the socket timeout in milliseconds configuration attribute for the jedis client configuration with this configuration instance.The value for the ssl configuration attribute for the jedis client configuration with this configuration instance.The redis timeout, the default value isProtocol.DEFAULT_TIMEOUTon millisecondsThe value for the user configuration attribute for the jedis client configuration with this configuration instance. -
Method Summary
Modifier and TypeMethodDescriptionget()static ValkeyConfigurationsReturns the enum constant of this class with the specified name.static ValkeyConfigurations[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HOST
The database host -
PORT
The database port -
TIMEOUT
The redis timeout, the default value isProtocol.DEFAULT_TIMEOUTon milliseconds -
PASSWORD
The password's credential -
DATABASE
The redis database number -
CLIENT_NAME
The cluster client's name. The default value is 0. -
MAX_TOTAL
The value for the maxTotal configuration attribute for pools created with this configuration instance. The default value isGenericObjectPoolConfig.DEFAULT_MAX_TOTAL -
MAX_IDLE
The value for the maxIdle configuration attribute for pools created with this configuration instance. The default value isGenericObjectPoolConfig.DEFAULT_MAX_IDLE -
MIN_IDLE
The value for the minIdle configuration attribute for pools created with this configuration instance. The default value isGenericObjectPoolConfig.DEFAULT_MIN_IDLE -
MAX_WAIT_MILLIS
The value for themaxWaitconfiguration attribute for pools created with this configuration instance. The default value isBaseObjectPoolConfig.DEFAULT_MAX_WAIT_MILLIS -
CONNECTION_TIMEOUT
The value for the connection timeout in milliseconds configuration attribute for the jedis client configuration created with this configuration instance. The connection timeout on millis onJedisClientConfig, the default value isProtocol.DEFAULT_TIMEOUT -
SOCKET_TIMEOUT
The value for the socket timeout in milliseconds configuration attribute for the jedis client configuration with this configuration instance. The socket timeout on millis onJedisClientConfig, the default value isProtocol.DEFAULT_TIMEOUT -
USER
The value for the user configuration attribute for the jedis client configuration with this configuration instance. The user onJedisClientConfig -
SSL
The value for the ssl configuration attribute for the jedis client configuration with this configuration instance. The ssl onJedisClientConfig. The default value is false. -
REDIS_PROTOCOL
The value for the protocol configuration attribute for the jedis client configuration with this configuration instance. The protocol onJedisClientConfig. The default value is not defined. -
CLIENTSET_INFO_CONFIG_DISABLED
The value for the clientset info disabled configuration attribute for the jedis client configuration with this configuration instance. The clientset info disabled onJedisClientConfig. The default value is false. -
CLIENTSET_INFO_CONFIG_LIBNAME_SUFFIX
The value for the clientset info configuration libname suffix attribute for the jedis client configuration with this configuration instance. The clientset info libname suffix onJedisClientConfig. The default value is not defined.
-
-
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
-
get
-