Package | Description |
---|---|
io.lettuce.core |
The Redis client package containing
RedisClient 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, see
RedisClusterClient . |
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 |
Modifier and Type | Class and Description |
---|---|
class |
StatefulRedisConnectionImpl<K,V>
A thread-safe connection to a Redis server.
|
Modifier and Type | Method and 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 supplied
RedisURI that treats keys and values as UTF-8 strings. |
StatefulRedisConnection<K,V> |
RedisReactiveCommandsImpl.getStatefulConnection() |
StatefulRedisConnection<K,V> |
RedisAsyncCommandsImpl.getStatefulConnection() |
Modifier and Type | Method and Description |
---|---|
<K,V> ConnectionFuture<StatefulRedisConnection<K,V>> |
RedisClient.connectAsync(RedisCodec<K,V> codec,
RedisURI redisURI)
|
Constructor and Description |
---|
RedisAsyncCommandsImpl(StatefulRedisConnection<K,V> connection,
RedisCodec<K,V> codec)
Initialize a new instance.
|
RedisAsyncCommandsImpl(StatefulRedisConnection<K,V> connection,
RedisCodec<K,V> codec,
Supplier<JsonParser> parser)
Initialize a new instance.
|
RedisReactiveCommandsImpl(StatefulRedisConnection<K,V> connection,
RedisCodec<K,V> codec)
Initialize a new instance.
|
RedisReactiveCommandsImpl(StatefulRedisConnection<K,V> connection,
RedisCodec<K,V> codec,
Supplier<JsonParser> parser)
Initialize a new instance.
|
Modifier and Type | Method and Description |
---|---|
StatefulRedisConnection<K,V> |
RedisAsyncCommands.getStatefulConnection()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
StatefulRedisConnection<K,V> |
RedisReactiveCommands.getStatefulConnection()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
StatefulRedisConnection<K,V> |
RedisCommands.getStatefulConnection()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
StatefulRedisConnection<K,V> |
StatefulRedisClusterConnectionImpl.getConnection(String nodeId,
ConnectionIntent connectionIntent) |
StatefulRedisConnection<K,V> |
StatefulRedisClusterConnectionImpl.getConnection(String host,
int port,
ConnectionIntent connectionIntent) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<StatefulRedisConnection<K,V>> |
StatefulRedisClusterConnectionImpl.getConnectionAsync(String nodeId,
ConnectionIntent connectionIntent) |
CompletableFuture<StatefulRedisConnection<K,V>> |
StatefulRedisClusterConnectionImpl.getConnectionAsync(String host,
int port,
ConnectionIntent connectionIntent) |
Modifier and Type | Method and Description |
---|---|
default StatefulRedisConnection<K,V> |
StatefulRedisClusterConnection.getConnection(String nodeId)
Retrieve a connection to the specified cluster node using the
nodeId suitable for write operations . |
StatefulRedisConnection<K,V> |
StatefulRedisClusterConnection.getConnection(String nodeId,
ConnectionIntent connectionIntent)
Retrieve a connection to the specified cluster node using the
nodeId for the given ConnectionIntent . |
default StatefulRedisConnection<K,V> |
StatefulRedisClusterConnection.getConnection(String host,
int port)
Retrieve a connection to the specified cluster node using host and port suitable for
write
operations . |
StatefulRedisConnection<K,V> |
StatefulRedisClusterConnection.getConnection(String host,
int port,
ConnectionIntent connectionIntent)
Retrieve a connection to the specified cluster node using host and port.
|
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<StatefulRedisConnection<K,V>> |
StatefulRedisClusterConnection.getConnectionAsync(String nodeId)
Retrieve asynchronously a connection to the specified cluster node using the
nodeId suitable for
write operations . |
CompletableFuture<StatefulRedisConnection<K,V>> |
StatefulRedisClusterConnection.getConnectionAsync(String nodeId,
ConnectionIntent connectionIntent)
Retrieve asynchronously a connection to the specified cluster node using the
nodeId for the given
ConnectionIntent . |
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 for
write 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 given
ConnectionIntent . |
Modifier and Type | Interface and Description |
---|---|
interface |
StatefulRedisClusterPubSubConnection<K,V>
A stateful Pub/Sub connection for Redis Cluster use.
|
Modifier and Type | Method and Description |
---|---|
<K,V> StatefulRedisConnection<K,V> |
NodeConnectionFactory.connectToNode(RedisCodec<K,V> codec,
SocketAddress socketAddress)
Connects to a
SocketAddress with the given RedisCodec . |
Modifier and Type | Method and Description |
---|---|
<K,V> ConnectionFuture<StatefulRedisConnection<K,V>> |
NodeConnectionFactory.connectToNodeAsync(RedisCodec<K,V> codec,
SocketAddress socketAddress)
Connects to a
SocketAddress with the given RedisCodec asynchronously. |
Modifier and Type | Interface and Description |
---|---|
interface |
StatefulRedisMasterReplicaConnection<K,V>
Redis Master-Replica connection.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StatefulRedisMasterSlaveConnection<K,V>
Deprecated.
since 5.2, use
MasterReplica and
StatefulRedisMasterReplicaConnection . |
Modifier and Type | Interface and Description |
---|---|
interface |
StatefulRedisPubSubConnection<K,V>
An asynchronous thread-safe pub/sub connection to a redis server.
|
Modifier and Type | Class and Description |
---|---|
class |
StatefulRedisPubSubConnectionImpl<K,V>
An thread-safe pub/sub connection to a Redis server.
|
Modifier and Type | Method and 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 given
CacheAccessor and StatefulRedisConnection . |
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 given
CacheAccessor and StatefulRedisConnection . |
Copyright © 2025 lettuce.io. All rights reserved.