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.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.dynamic |
Core package for Redis Command Interface support through
RedisCommandFactory . |
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.sentinel |
Redis Sentinel connection classes.
|
io.lettuce.core.sentinel.api |
Redis Sentinel connection API.
|
io.lettuce.core.support |
Supportive classes such as
RedisClientCdiBean for CDI support, connection pooling, and
client-side 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 |
---|---|
StatefulConnection<K,V> |
AbstractRedisAsyncCommands.getConnection() |
StatefulConnection<K,V> |
AbstractRedisReactiveCommands.getConnection() |
Constructor and Description |
---|
AbstractRedisAsyncCommands(StatefulConnection<K,V> connection,
RedisCodec<K,V> codec)
Initialize a new instance.
|
AbstractRedisReactiveCommands(StatefulConnection<K,V> connection,
RedisCodec<K,V> codec)
Initialize a new instance.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StatefulRedisConnection<K,V>
A thread-safe connection to a redis server.
|
Modifier and Type | Class and Description |
---|---|
class |
StatefulRedisClusterConnectionImpl<K,V>
A thread-safe connection to a Redis Cluster.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StatefulRedisClusterConnection<K,V>
A stateful cluster connection.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StatefulRedisClusterPubSubConnection<K,V>
A stateful Pub/Sub connection for Redis Cluster use.
|
Constructor and Description |
---|
RedisCommandFactory(StatefulConnection<?,?> connection)
Create a new
CommandFactory given StatefulConnection . |
RedisCommandFactory(StatefulConnection<?,?> connection,
Iterable<? extends RedisCodec<?,?>> redisCodecs)
|
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 | Class and Description |
---|---|
class |
StatefulRedisSentinelConnectionImpl<K,V> |
Constructor and Description |
---|
RedisSentinelAsyncCommandsImpl(StatefulConnection<K,V> connection,
RedisCodec<K,V> codec) |
RedisSentinelReactiveCommandsImpl(StatefulConnection<K,V> connection,
RedisCodec<K,V> codec) |
Modifier and Type | Interface and Description |
---|---|
interface |
StatefulRedisSentinelConnection<K,V>
A thread-safe connection to a redis server.
|
Modifier and Type | Method and Description |
---|---|
static <T extends StatefulConnection<?,?>> |
AsyncConnectionPoolSupport.createBoundedObjectPool(Supplier<CompletionStage<T>> connectionSupplier,
BoundedPoolConfig config)
Create and initialize asynchronously a new
BoundedAsyncPool using the Supplier . |
static <T extends StatefulConnection<?,?>> |
AsyncConnectionPoolSupport.createBoundedObjectPool(Supplier<CompletionStage<T>> connectionSupplier,
BoundedPoolConfig config,
boolean wrapConnections)
Create and initialize asynchronously a new
BoundedAsyncPool using the Supplier . |
static <T extends StatefulConnection<?,?>> |
AsyncConnectionPoolSupport.createBoundedObjectPoolAsync(Supplier<CompletionStage<T>> connectionSupplier,
BoundedPoolConfig config)
Create and initialize asynchronously a new
BoundedAsyncPool using the Supplier . |
static <T extends StatefulConnection<?,?>> |
AsyncConnectionPoolSupport.createBoundedObjectPoolAsync(Supplier<CompletionStage<T>> connectionSupplier,
BoundedPoolConfig config,
boolean wrapConnections)
Create and initialize asynchronously a new
BoundedAsyncPool using the Supplier . |
static <T extends StatefulConnection<?,?>> |
ConnectionPoolSupport.createGenericObjectPool(Supplier<T> connectionSupplier,
GenericObjectPoolConfig<T> config)
Creates a new
GenericObjectPool using the Supplier . |
static <T extends StatefulConnection<?,?>> |
ConnectionPoolSupport.createGenericObjectPool(Supplier<T> connectionSupplier,
GenericObjectPoolConfig<T> config,
boolean wrapConnections)
Creates a new
GenericObjectPool using the Supplier . |
static <T extends StatefulConnection<?,?>> |
ConnectionPoolSupport.createSoftReferenceObjectPool(Supplier<T> connectionSupplier)
Creates a new
SoftReferenceObjectPool using the Supplier . |
static <T extends StatefulConnection<?,?>> |
ConnectionPoolSupport.createSoftReferenceObjectPool(Supplier<T> connectionSupplier,
boolean wrapConnections)
Creates a new
SoftReferenceObjectPool using the Supplier . |
protected static <T extends StatefulConnection<?,?>> |
AsyncConnectionPoolSupport.doCreatePool(Supplier<CompletionStage<T>> connectionSupplier,
BoundedPoolConfig config,
boolean wrapConnections) |
Copyright © 2023 lettuce.io. All rights reserved.