| Package | Description |
|---|---|
| io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
| io.lettuce.core.api |
Standalone Redis connection API.
|
| io.lettuce.core.api.reactive |
Standalone Redis API for reactive command execution.
|
| io.lettuce.core.cluster |
Client for Redis Cluster, see
RedisClusterClient. |
| io.lettuce.core.cluster.api |
Redis Cluster connection API.
|
| io.lettuce.core.cluster.api.reactive |
Redis Cluster API for reactive command execution.
|
| io.lettuce.core.sentinel |
Redis Sentinel connection classes.
|
| io.lettuce.core.sentinel.api |
Redis Sentinel connection API.
|
| io.lettuce.core.sentinel.api.reactive |
Redis Sentinel API for reactive command execution.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
StatefulRedisConnectionImpl.commands(CommandsFactory<StatefulRedisConnection<K,V>,T> f) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClusterPubSubCommandsFactory<C extends StatefulRedisClusterPubSubConnection<?,?>,T>
A
CommandsFactory that creates a command API bound to a Cluster Pub/Sub
connection, for use with StatefulRedisClusterPubSubConnection.commands(ClusterPubSubCommandsFactory). |
interface |
PubSubCommandsFactory<C extends StatefulRedisPubSubConnection<?,?>,T>
A
CommandsFactory that creates a command API bound to a Pub/Sub connection, for
use with StatefulRedisPubSubConnection.commands(PubSubCommandsFactory). |
| Modifier and Type | Method and Description |
|---|---|
static <C,T> CommandsFactory<C,T> |
CommandsFactory.of(Object key,
Function<C,T> builder)
Creates a
CommandsFactory from a cache key and a builder. |
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
StatefulRedisConnection.commands(CommandsFactory<StatefulRedisConnection<K,V>,T> factory)
Returns the command API created by
factory, bound to this connection. |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> CommandsFactory<StatefulRedisConnection<K,V>,RedisReactiveCommands<K,V>> |
RedisReactiveCommands.factory()
Returns the
CommandsFactory that creates RedisReactiveCommands, for use with
StatefulRedisConnection.commands(CommandsFactory):
{
@code
RedisReactiveCommands |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
StatefulRedisClusterConnectionImpl.commands(CommandsFactory<StatefulRedisClusterConnection<K,V>,T> f) |
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
StatefulRedisClusterConnection.commands(CommandsFactory<StatefulRedisClusterConnection<K,V>,T> factory)
Returns the command API created by
factory, bound to this connection. |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> CommandsFactory<StatefulRedisClusterConnection<K,V>,RedisAdvancedClusterReactiveCommands<K,V>> |
RedisAdvancedClusterReactiveCommands.factory()
Returns the
CommandsFactory that creates RedisAdvancedClusterReactiveCommands, for use with
StatefulRedisClusterConnection.commands(CommandsFactory):
{
@code
RedisAdvancedClusterReactiveCommands |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
StatefulRedisSentinelConnectionImpl.commands(CommandsFactory<StatefulRedisSentinelConnection<K,V>,T> f) |
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
StatefulRedisSentinelConnection.commands(CommandsFactory<StatefulRedisSentinelConnection<K,V>,T> factory)
Returns the command API created by
factory, bound to this connection. |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> CommandsFactory<StatefulRedisSentinelConnection<K,V>,RedisSentinelReactiveCommands<K,V>> |
RedisSentinelReactiveCommands.factory()
Returns the
CommandsFactory that creates RedisSentinelReactiveCommands, for use with
StatefulRedisSentinelConnection.commands(CommandsFactory):
{
@code
RedisSentinelReactiveCommands |
Copyright © 2026 lettuce.io. All rights reserved.