| Package | Description |
|---|---|
| io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
| io.lettuce.core.cluster |
Client for Redis Cluster, see
RedisClusterClient. |
| io.lettuce.core.protocol |
Redis protocol layer abstraction.
|
| io.lettuce.core.pubsub |
Pub/Sub connection classes.
|
| io.lettuce.core.sentinel |
Redis Sentinel connection classes.
|
| Modifier and Type | Method and Description |
|---|---|
RedisChannelWriter |
RedisChannelHandler.getChannelWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected <K,V> StatefulRedisConnectionImpl<K,V> |
RedisClient.newStatefulRedisConnection(RedisChannelWriter channelWriter,
RedisCodec<K,V> codec,
Duration timeout)
Create a new instance of
StatefulRedisConnectionImpl or a subclass. |
protected <K,V> StatefulRedisPubSubConnectionImpl<K,V> |
RedisClient.newStatefulRedisPubSubConnection(PubSubEndpoint<K,V> endpoint,
RedisChannelWriter channelWriter,
RedisCodec<K,V> codec,
Duration timeout)
Create a new instance of
StatefulRedisPubSubConnectionImpl or a subclass. |
protected <K,V> StatefulRedisSentinelConnectionImpl<K,V> |
RedisClient.newStatefulRedisSentinelConnection(RedisChannelWriter channelWriter,
RedisCodec<K,V> codec,
Duration timeout)
Create a new instance of
StatefulRedisSentinelConnectionImpl or a subclass. |
| Constructor and Description |
|---|
RedisChannelHandler(RedisChannelWriter writer,
Duration timeout) |
StatefulRedisConnectionImpl(RedisChannelWriter writer,
RedisCodec<K,V> codec,
Duration timeout)
Initialize a new connection.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PubSubClusterEndpoint<K,V> |
| Constructor and Description |
|---|
StatefulRedisClusterConnectionImpl(RedisChannelWriter writer,
RedisCodec<K,V> codec,
Duration timeout)
Initialize a new connection.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CommandExpiryWriter
Extension to
RedisChannelWriter that expires commands. |
class |
DefaultEndpoint
Default
Endpoint implementation. |
| Constructor and Description |
|---|
CommandExpiryWriter(RedisChannelWriter writer,
ClientOptions clientOptions,
ClientResources clientResources)
Create a new
CommandExpiryWriter. |
| Modifier and Type | Class and Description |
|---|---|
class |
PubSubEndpoint<K,V> |
| Constructor and Description |
|---|
StatefulRedisPubSubConnectionImpl(PubSubEndpoint<K,V> endpoint,
RedisChannelWriter writer,
RedisCodec<K,V> codec,
Duration timeout)
Initialize a new connection.
|
| Constructor and Description |
|---|
StatefulRedisSentinelConnectionImpl(RedisChannelWriter writer,
RedisCodec<K,V> codec,
Duration timeout) |
Copyright © 2019 lettuce.io. All rights reserved.