Uses of Interface
org.springframework.data.redis.connection.lettuce.LettuceConnectionProvider
-
Uses of LettuceConnectionProvider in org.springframework.data.redis.connection.lettuce
Modifier and TypeMethodDescriptionprotected LettuceConnectionProvider
LettuceConnectionFactory.doCreateConnectionProvider
(io.lettuce.core.AbstractRedisClient client, io.lettuce.core.codec.RedisCodec<?, ?> codec) Modifier and TypeMethodDescriptionprotected LettuceClusterConnection
LettuceConnectionFactory.doCreateLettuceClusterConnection
(io.lettuce.core.cluster.api.StatefulRedisClusterConnection<byte[], byte[]> sharedConnection, LettuceConnectionProvider connectionProvider, ClusterTopologyProvider topologyProvider, ClusterCommandExecutor clusterCommandExecutor, Duration commandTimeout) Customization hook forLettuceClusterConnection
creation.protected LettuceConnection
LettuceConnectionFactory.doCreateLettuceConnection
(io.lettuce.core.api.StatefulRedisConnection<byte[], byte[]> sharedConnection, LettuceConnectionProvider connectionProvider, long timeout, int database) Customization hook forLettuceConnection
creation.protected LettuceSubscription
LettuceConnection.doCreateSubscription
(MessageListener listener, io.lettuce.core.pubsub.StatefulRedisPubSubConnection<byte[], byte[]> connection, LettuceConnectionProvider connectionProvider) Customization hook to create aLettuceSubscription
.ModifierConstructorDescriptionprotected
LettuceClusterConnection
(io.lettuce.core.cluster.api.StatefulRedisClusterConnection<byte[], byte[]> sharedConnection, LettuceConnectionProvider connectionProvider, ClusterTopologyProvider clusterTopologyProvider, ClusterCommandExecutor executor, Duration timeout) Creates newLettuceClusterConnection
given a sharedStatefulRedisClusterConnection
andLettuceConnectionProvider
running commands across the cluster via givenClusterCommandExecutor
.LettuceClusterConnection
(LettuceConnectionProvider connectionProvider) Creates newLettuceClusterConnection
usingLettuceConnectionProvider
running commands across the cluster via givenClusterCommandExecutor
.LettuceClusterConnection
(LettuceConnectionProvider connectionProvider, ClusterCommandExecutor executor) Creates newLettuceClusterConnection
usingLettuceConnectionProvider
running commands across the cluster via givenClusterCommandExecutor
.LettuceClusterConnection
(LettuceConnectionProvider connectionProvider, ClusterCommandExecutor executor, Duration timeout) Creates newLettuceClusterConnection
usingLettuceConnectionProvider
running commands across the cluster via givenClusterCommandExecutor
.LettuceConnection
(io.lettuce.core.api.StatefulRedisConnection<byte[], byte[]> sharedConnection, LettuceConnectionProvider connectionProvider, long timeout, int defaultDbIndex) LettuceSentinelConnection
(LettuceConnectionProvider connectionProvider) Creates aLettuceSentinelConnection
using aLettuceConnectionProvider
.protected
LettuceSubscription
(MessageListener listener, io.lettuce.core.pubsub.StatefulRedisPubSubConnection<byte[], byte[]> pubsubConnection, LettuceConnectionProvider connectionProvider) Creates a newLettuceSubscription
givenMessageListener
,StatefulRedisPubSubConnection
, andLettuceConnectionProvider
.