Enum Class ValkeySentinelConfigurations

java.lang.Object
java.lang.Enum<ValkeySentinelConfigurations>
org.eclipse.jnosql.databases.valkey.communication.ValkeySentinelConfigurations
All Implemented Interfaces:
Serializable, Comparable<ValkeySentinelConfigurations>, Constable, Supplier<String>

public enum ValkeySentinelConfigurations extends Enum<ValkeySentinelConfigurations> implements Supplier<String>
An enumeration to show the available options to connect to the Redis database by Sentinel configuration . 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 Classes

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The master client's name, the default value is 0
    The value for the clientset info disabled configuration attribute for the master jedis client configuration with this configuration instance.
    The value for the clientset info configuration libname suffix attribute for the master jedis client configuration with this configuration instance.
    The value for the connection timeout in milliseconds configuration attribute for the master jedis client configuration created with this configuration instance.
    The value for the password configuration attribute for the master jedis client configuration with this configuration instance.
    The value for the protocol configuration attribute for the master jedis client configuration with this configuration instance.
    The value for the socket timeout in milliseconds configuration attribute for the master jedis client configuration with this configuration instance.
    The value for the ssl configuration attribute for the master jedis client configuration with this configuration instance.
    The master redis timeout, the default value is Protocol.DEFAULT_TIMEOUT on milliseconds
    The value for the user configuration attribute for the master jedis client configuration with this configuration instance.
    The key property that defines if the redis sentinel configuration should be loaded
    The value for the sentinel HOST:PORT (separated by comma) configuration attribute for the jedis client configuration with this configuration instance.
    The value for the master name configuration attribute for the jedis client configuration with this configuration instance.
    The slave client's name, the default value is 0
    The value for the clientset info disabled configuration attribute for the slave jedis client configuration with this configuration instance.
    The value for the clientset info configuration libname suffix attribute for the slave jedis client configuration with this configuration instance.
    The value for the connection timeout in milliseconds configuration attribute for the slave jedis client configuration created with this configuration instance.
    The value for the password configuration attribute for the slave jedis client configuration with this configuration instance.
    The value for the protocol configuration attribute for the slave jedis client configuration with this configuration instance.
    The value for the socket timeout in milliseconds configuration attribute for the slave jedis client configuration with this configuration instance.
    The value for the ssl configuration attribute for the slave jedis client configuration with this configuration instance.
    The slave redis timeout, the default value is Protocol.DEFAULT_TIMEOUT on milliseconds
    The value for the user configuration attribute for the slave jedis client configuration with this configuration instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SENTINEL

      public static final ValkeySentinelConfigurations SENTINEL
      The key property that defines if the redis sentinel configuration should be loaded
    • SENTINEL_MASTER_NAME

      public static final ValkeySentinelConfigurations SENTINEL_MASTER_NAME
      The value for the master name configuration attribute for the jedis client configuration with this configuration instance.
    • SENTINEL_HOSTS

      public static final ValkeySentinelConfigurations SENTINEL_HOSTS
      The value for the sentinel HOST:PORT (separated by comma) configuration attribute for the jedis client configuration with this configuration instance.
    • MASTER_CLIENT_NAME

      public static final ValkeySentinelConfigurations MASTER_CLIENT_NAME
      The master client's name, the default value is 0
    • SLAVE_CLIENT_NAME

      public static final ValkeySentinelConfigurations SLAVE_CLIENT_NAME
      The slave client's name, the default value is 0
    • MASTER_TIMEOUT

      public static final ValkeySentinelConfigurations MASTER_TIMEOUT
      The master redis timeout, the default value is Protocol.DEFAULT_TIMEOUT on milliseconds
    • SLAVE_TIMEOUT

      public static final ValkeySentinelConfigurations SLAVE_TIMEOUT
      The slave redis timeout, the default value is Protocol.DEFAULT_TIMEOUT on milliseconds
    • MASTER_CONNECTION_TIMEOUT

      public static final ValkeySentinelConfigurations MASTER_CONNECTION_TIMEOUT
      The value for the connection timeout in milliseconds configuration attribute for the master jedis client configuration created with this configuration instance. The connection timeout on millis on JedisClientConfig, the default value is Protocol.DEFAULT_TIMEOUT
    • SLAVE_CONNECTION_TIMEOUT

      public static final ValkeySentinelConfigurations SLAVE_CONNECTION_TIMEOUT
      The value for the connection timeout in milliseconds configuration attribute for the slave jedis client configuration created with this configuration instance. The connection timeout on millis on JedisClientConfig, the default value is Protocol.DEFAULT_TIMEOUT
    • MASTER_SOCKET_TIMEOUT

      public static final ValkeySentinelConfigurations MASTER_SOCKET_TIMEOUT
      The value for the socket timeout in milliseconds configuration attribute for the master jedis client configuration with this configuration instance. The socket timeout on millis on JedisClientConfig, the default value is Protocol.DEFAULT_TIMEOUT
    • SLAVE_SOCKET_TIMEOUT

      public static final ValkeySentinelConfigurations SLAVE_SOCKET_TIMEOUT
      The value for the socket timeout in milliseconds configuration attribute for the slave jedis client configuration with this configuration instance. The socket timeout on millis on JedisClientConfig, the default value is Protocol.DEFAULT_TIMEOUT
    • MASTER_USER

      public static final ValkeySentinelConfigurations MASTER_USER
      The value for the user configuration attribute for the master jedis client configuration with this configuration instance. The user on JedisClientConfig
    • SLAVE_USER

      public static final ValkeySentinelConfigurations SLAVE_USER
      The value for the user configuration attribute for the slave jedis client configuration with this configuration instance. The user on JedisClientConfig
    • MASTER_PASSWORD

      public static final ValkeySentinelConfigurations MASTER_PASSWORD
      The value for the password configuration attribute for the master jedis client configuration with this configuration instance. The user on JedisClientConfig
    • SLAVE_PASSWORD

      public static final ValkeySentinelConfigurations SLAVE_PASSWORD
      The value for the password configuration attribute for the slave jedis client configuration with this configuration instance. The user on JedisClientConfig
    • MASTER_SSL

      public static final ValkeySentinelConfigurations MASTER_SSL
      The value for the ssl configuration attribute for the master jedis client configuration with this configuration instance. The ssl on JedisClientConfig. The default value is false.
    • SLAVE_SSL

      public static final ValkeySentinelConfigurations SLAVE_SSL
      The value for the ssl configuration attribute for the slave jedis client configuration with this configuration instance. The ssl on JedisClientConfig. The default value is false
    • MASTER_REDIS_PROTOCOL

      public static final ValkeySentinelConfigurations MASTER_REDIS_PROTOCOL
      The value for the protocol configuration attribute for the master jedis client configuration with this configuration instance. The protocol on JedisClientConfig
    • SLAVE_REDIS_PROTOCOL

      public static final ValkeySentinelConfigurations SLAVE_REDIS_PROTOCOL
      The value for the protocol configuration attribute for the slave jedis client configuration with this configuration instance. The protocol on JedisClientConfig
    • MASTER_CLIENTSET_INFO_CONFIG_DISABLED

      public static final ValkeySentinelConfigurations MASTER_CLIENTSET_INFO_CONFIG_DISABLED
      The value for the clientset info disabled configuration attribute for the master jedis client configuration with this configuration instance. The clientset info disabled on JedisClientConfig
    • SLAVE_CLIENTSET_INFO_CONFIG_DISABLED

      public static final ValkeySentinelConfigurations SLAVE_CLIENTSET_INFO_CONFIG_DISABLED
      The value for the clientset info disabled configuration attribute for the slave jedis client configuration with this configuration instance. The clientset info disabled on JedisClientConfig
    • MASTER_CLIENTSET_INFO_CONFIG_LIBNAME_SUFFIX

      public static final ValkeySentinelConfigurations MASTER_CLIENTSET_INFO_CONFIG_LIBNAME_SUFFIX
      The value for the clientset info configuration libname suffix attribute for the master jedis client configuration with this configuration instance. The clientset info libname suffix on JedisClientConfig
    • SLAVE_CLIENTSET_INFO_CONFIG_LIBNAME_SUFFIX

      public static final ValkeySentinelConfigurations SLAVE_CLIENTSET_INFO_CONFIG_LIBNAME_SUFFIX
      The value for the clientset info configuration libname suffix attribute for the slave jedis client configuration with this configuration instance. The clientset info libname suffix on JedisClientConfig
  • Method Details

    • values

      public static ValkeySentinelConfigurations[] 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

      public static ValkeySentinelConfigurations valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • get

      public String get()
      Specified by:
      get in interface Supplier<String>