Uses of Interface
io.lettuce.core.api.StatefulRedisConnection
-
Packages that use StatefulRedisConnection Package Description io.lettuce.core The Redis client package containingRedisClient
for Redis Standalone and Redis Sentinel operations.io.lettuce.core.api.async Standalone Redis API for asynchronous executed commands.io.lettuce.core.api.reactive Standalone Redis API for reactive command execution.io.lettuce.core.api.sync Standalone Redis API for synchronous executed commands.io.lettuce.core.cluster Client for Redis Cluster, seeRedisClusterClient
.io.lettuce.core.cluster.api Redis Cluster connection API.io.lettuce.core.cluster.pubsub Redis Cluster Pub/Sub support.io.lettuce.core.cluster.topology Support for cluster topology refresh.io.lettuce.core.masterreplica Client support for Redis Master/Replica setups.io.lettuce.core.masterslave Client support for Redis Master/Slave setups.io.lettuce.core.pubsub Pub/Sub connection classes.io.lettuce.core.support.caching -
-
Uses of StatefulRedisConnection in io.lettuce.core
Classes in io.lettuce.core that implement StatefulRedisConnection Modifier and Type Class Description class
StatefulRedisConnectionImpl<K,V>
A thread-safe connection to a Redis server.Methods in io.lettuce.core that return StatefulRedisConnection Modifier and Type Method Description StatefulRedisConnection<String,String>
RedisClient. connect()
Open a new connection to a Redis server that treats keys and values as UTF-8 strings.<K,V>
StatefulRedisConnection<K,V>RedisClient. connect(RedisCodec<K,V> codec)
Open a new connection to a Redis server.<K,V>
StatefulRedisConnection<K,V>RedisClient. connect(RedisCodec<K,V> codec, RedisURI redisURI)
StatefulRedisConnection<String,String>
RedisClient. connect(RedisURI redisURI)
Open a new connection to a Redis server using the suppliedRedisURI
that treats keys and values as UTF-8 strings.StatefulRedisConnection<K,V>
RedisAsyncCommandsImpl. getStatefulConnection()
StatefulRedisConnection<K,V>
RedisReactiveCommandsImpl. getStatefulConnection()
Methods in io.lettuce.core that return types with arguments of type StatefulRedisConnection Modifier and Type Method Description <K,V>
ConnectionFuture<StatefulRedisConnection<K,V>>RedisClient. connectAsync(RedisCodec<K,V> codec, RedisURI redisURI)
Constructors in io.lettuce.core with parameters of type StatefulRedisConnection Constructor Description RedisAsyncCommandsImpl(StatefulRedisConnection<K,V> connection, RedisCodec<K,V> codec)
Initialize a new instance.RedisReactiveCommandsImpl(StatefulRedisConnection<K,V> connection, RedisCodec<K,V> codec)
Initialize a new instance. -
Uses of StatefulRedisConnection in io.lettuce.core.api.async
Methods in io.lettuce.core.api.async that return StatefulRedisConnection Modifier and Type Method Description StatefulRedisConnection<K,V>
RedisAsyncCommands. getStatefulConnection()
Deprecated. -
Uses of StatefulRedisConnection in io.lettuce.core.api.reactive
Methods in io.lettuce.core.api.reactive that return StatefulRedisConnection Modifier and Type Method Description StatefulRedisConnection<K,V>
RedisReactiveCommands. getStatefulConnection()
Deprecated. -
Uses of StatefulRedisConnection in io.lettuce.core.api.sync
Methods in io.lettuce.core.api.sync that return StatefulRedisConnection Modifier and Type Method Description StatefulRedisConnection<K,V>
RedisCommands. getStatefulConnection()
Deprecated. -
Uses of StatefulRedisConnection in io.lettuce.core.cluster
Methods in io.lettuce.core.cluster that return StatefulRedisConnection Modifier and Type Method Description StatefulRedisConnection<K,V>
StatefulRedisClusterConnectionImpl. getConnection(String host, int port, ConnectionIntent connectionIntent)
StatefulRedisConnection<K,V>
StatefulRedisClusterConnectionImpl. getConnection(String nodeId, ConnectionIntent connectionIntent)
Methods in io.lettuce.core.cluster that return types with arguments of type StatefulRedisConnection Modifier and Type Method Description CompletableFuture<StatefulRedisConnection<K,V>>
StatefulRedisClusterConnectionImpl. getConnectionAsync(String host, int port, ConnectionIntent connectionIntent)
CompletableFuture<StatefulRedisConnection<K,V>>
StatefulRedisClusterConnectionImpl. getConnectionAsync(String nodeId, ConnectionIntent connectionIntent)
-
Uses of StatefulRedisConnection in io.lettuce.core.cluster.api
Methods in io.lettuce.core.cluster.api that return StatefulRedisConnection Modifier and Type Method Description default StatefulRedisConnection<K,V>
StatefulRedisClusterConnection. getConnection(String nodeId)
Retrieve a connection to the specified cluster node using thenodeId
suitable forwrite operations
.default StatefulRedisConnection<K,V>
StatefulRedisClusterConnection. getConnection(String host, int port)
Retrieve a connection to the specified cluster node using host and port suitable forwrite operations
.StatefulRedisConnection<K,V>
StatefulRedisClusterConnection. getConnection(String host, int port, ConnectionIntent connectionIntent)
Retrieve a connection to the specified cluster node using host and port.StatefulRedisConnection<K,V>
StatefulRedisClusterConnection. getConnection(String nodeId, ConnectionIntent connectionIntent)
Retrieve a connection to the specified cluster node using thenodeId
for the givenConnectionIntent
.Methods in io.lettuce.core.cluster.api that return types with arguments of type StatefulRedisConnection Modifier and Type Method Description default CompletableFuture<StatefulRedisConnection<K,V>>
StatefulRedisClusterConnection. getConnectionAsync(String nodeId)
Retrieve asynchronously a connection to the specified cluster node using thenodeId
suitable forwrite operations
.default CompletableFuture<StatefulRedisConnection<K,V>>
StatefulRedisClusterConnection. getConnectionAsync(String host, int port)
Retrieve asynchronously a connection to the specified cluster node using host and port suitable forwrite operations
.CompletableFuture<StatefulRedisConnection<K,V>>
StatefulRedisClusterConnection. getConnectionAsync(String host, int port, ConnectionIntent connectionIntent)
Retrieve asynchronously a connection to the specified cluster node using host and port for the givenConnectionIntent
.CompletableFuture<StatefulRedisConnection<K,V>>
StatefulRedisClusterConnection. getConnectionAsync(String nodeId, ConnectionIntent connectionIntent)
Retrieve asynchronously a connection to the specified cluster node using thenodeId
for the givenConnectionIntent
. -
Uses of StatefulRedisConnection in io.lettuce.core.cluster.pubsub
Subinterfaces of StatefulRedisConnection in io.lettuce.core.cluster.pubsub Modifier and Type Interface Description interface
StatefulRedisClusterPubSubConnection<K,V>
A stateful Pub/Sub connection for Redis Cluster use. -
Uses of StatefulRedisConnection in io.lettuce.core.cluster.topology
Methods in io.lettuce.core.cluster.topology that return StatefulRedisConnection Modifier and Type Method Description <K,V>
StatefulRedisConnection<K,V>NodeConnectionFactory. connectToNode(RedisCodec<K,V> codec, SocketAddress socketAddress)
Connects to aSocketAddress
with the givenRedisCodec
.Methods in io.lettuce.core.cluster.topology that return types with arguments of type StatefulRedisConnection Modifier and Type Method Description <K,V>
ConnectionFuture<StatefulRedisConnection<K,V>>NodeConnectionFactory. connectToNodeAsync(RedisCodec<K,V> codec, SocketAddress socketAddress)
Connects to aSocketAddress
with the givenRedisCodec
asynchronously. -
Uses of StatefulRedisConnection in io.lettuce.core.masterreplica
Subinterfaces of StatefulRedisConnection in io.lettuce.core.masterreplica Modifier and Type Interface Description interface
StatefulRedisMasterReplicaConnection<K,V>
Redis Master-Replica connection. -
Uses of StatefulRedisConnection in io.lettuce.core.masterslave
Subinterfaces of StatefulRedisConnection in io.lettuce.core.masterslave Modifier and Type Interface Description interface
StatefulRedisMasterSlaveConnection<K,V>
Deprecated.since 5.2, useMasterReplica
andStatefulRedisMasterReplicaConnection
. -
Uses of StatefulRedisConnection in io.lettuce.core.pubsub
Subinterfaces of StatefulRedisConnection in io.lettuce.core.pubsub Modifier and Type Interface Description interface
StatefulRedisPubSubConnection<K,V>
An asynchronous thread-safe pub/sub connection to a redis server.Classes in io.lettuce.core.pubsub that implement StatefulRedisConnection Modifier and Type Class Description class
StatefulRedisPubSubConnectionImpl<K,V>
An thread-safe pub/sub connection to a Redis server. -
Uses of StatefulRedisConnection in io.lettuce.core.support.caching
Methods in io.lettuce.core.support.caching with parameters of type StatefulRedisConnection Modifier and Type Method Description static <K,V>
CacheFrontend<K,V>ClientSideCaching. create(CacheAccessor<K,V> cacheAccessor, StatefulRedisConnection<K,V> connection)
Create a server-assisted Client side caching for the givenCacheAccessor
andStatefulRedisConnection
.static <K,V>
CacheFrontend<K,V>ClientSideCaching. enable(CacheAccessor<K,V> cacheAccessor, StatefulRedisConnection<K,V> connection, TrackingArgs tracking)
Enable server-assisted Client side caching for the givenCacheAccessor
andStatefulRedisConnection
.
-