Package | Description |
---|---|
org.springframework.data.redis.connection.jedis |
Connection package for Jedis library.
|
org.springframework.data.redis.connection.lettuce |
Connection package for Lettuce Redis client.
|
Modifier and Type | Method and Description |
---|---|
protected ClusterCommandExecutor |
JedisClusterConnection.getClusterCommandExecutor() |
Constructor and Description |
---|
JedisClusterConnection(redis.clients.jedis.JedisCluster cluster,
ClusterCommandExecutor executor)
Create new
JedisClusterConnection utilizing native connections via JedisCluster running commands
across the cluster via given ClusterCommandExecutor . |
JedisClusterConnection(redis.clients.jedis.JedisCluster cluster,
ClusterCommandExecutor executor,
ClusterTopologyProvider topologyProvider)
Create new
JedisClusterConnection utilizing native connections via JedisCluster running commands
across the cluster via given ClusterCommandExecutor and using the given ClusterTopologyProvider . |
Modifier and Type | Method and Description |
---|---|
ClusterCommandExecutor |
LettuceClusterConnection.getClusterCommandExecutor() |
Modifier and Type | Method and Description |
---|---|
protected LettuceClusterConnection |
LettuceConnectionFactory.doCreateLettuceClusterConnection(io.lettuce.core.cluster.api.StatefulRedisClusterConnection<byte[],byte[]> sharedConnection,
LettuceConnectionProvider connectionProvider,
ClusterTopologyProvider topologyProvider,
ClusterCommandExecutor clusterCommandExecutor,
Duration commandTimeout)
Customization hook for
LettuceClusterConnection creation. |
Constructor and Description |
---|
LettuceClusterConnection(LettuceConnectionProvider connectionProvider,
ClusterCommandExecutor executor)
Creates new
LettuceClusterConnection using LettuceConnectionProvider running commands across the
cluster via given ClusterCommandExecutor . |
LettuceClusterConnection(LettuceConnectionProvider connectionProvider,
ClusterCommandExecutor executor,
Duration timeout)
Creates new
LettuceClusterConnection using LettuceConnectionProvider running commands across the
cluster via given ClusterCommandExecutor . |
LettuceClusterConnection(io.lettuce.core.cluster.RedisClusterClient clusterClient,
ClusterCommandExecutor executor)
Creates new
LettuceClusterConnection with default timeout using
RedisClusterClient running commands across the cluster via given ClusterCommandExecutor . |
LettuceClusterConnection(io.lettuce.core.cluster.RedisClusterClient clusterClient,
ClusterCommandExecutor executor,
Duration timeout)
Creates new
LettuceClusterConnection with given command timeout using RedisClusterClient
running commands across the cluster via given ClusterCommandExecutor . |
LettuceClusterConnection(io.lettuce.core.cluster.api.StatefulRedisClusterConnection<byte[],byte[]> sharedConnection,
LettuceConnectionProvider connectionProvider,
ClusterTopologyProvider clusterTopologyProvider,
ClusterCommandExecutor executor,
Duration timeout)
Creates new
LettuceClusterConnection given a shared StatefulRedisClusterConnection and
LettuceConnectionProvider running commands across the cluster via given ClusterCommandExecutor . |
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.