//misk-redis/misk.redis/RedisClusterReplicationGroupConfig
RedisClusterReplicationGroupConfig¶
[jvm]\ data class RedisClusterReplicationGroupConfig@JvmOverloadsconstructor(val configuration_endpoint: RedisNodeConfig, val client_name: String? = null, val max_attempts: Int = DEFAULT_MAX_ATTEMPTS, val redis_auth_password: String, val timeout_ms: Int = Protocol.DEFAULT_TIMEOUT)
Configuration element for a Redis Cluster
Constructors¶
RedisClusterReplicationGroupConfig | [jvm] @JvmOverloads constructor(configuration_endpoint: RedisNodeConfig, client_name: String? = null, max_attempts: Int = DEFAULT_MAX_ATTEMPTS, redis_auth_password: String, timeout_ms: Int = Protocol.DEFAULT_TIMEOUT) |
Properties¶
Name | Summary |
---|---|
client_name | [jvm] val client_name: String? = null An optional parameter to identify the client application. |
configuration_endpoint | [jvm] val configuration_endpoint: RedisNodeConfig The endpoint of a node in the cluster that can be used to discover the rest of the cluster. |
max_attempts | [jvm] val max_attempts: Int The maximum number of attempts in case of failure. |
redis_auth_password | [jvm] val redis_auth_password: String The password to use for the connection to the cluster. |
timeout_ms | [jvm] val timeout_ms: Int The connection and socket timeout in milliseconds. |