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.dynamic |
Core package for Redis Command Interface support through
RedisCommandFactory . |
io.lettuce.core.dynamic.batch |
Batching with Redis Command interfaces.
|
io.lettuce.core.internal |
Contains internal API.
|
io.lettuce.core.output |
Implementation of different output protocols including the Streaming API.
|
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 |
---|---|
protected <T> RedisCommand<K,V,T> |
RedisChannelHandler.dispatch(RedisCommand<K,V,T> cmd) |
<T> RedisCommand<K,V,T> |
StatefulRedisConnectionImpl.dispatch(RedisCommand<K,V,T> command) |
RedisCommand<?,?,?> |
ConnectionEvents.PingBeforeActivate.getCommand() |
protected <T> RedisCommand<K,V,T> |
StatefulRedisConnectionImpl.preProcessCommand(RedisCommand<K,V,T> command) |
<K,V,T> RedisCommand<K,V,T> |
RedisChannelWriter.write(RedisCommand<K,V,T> command)
Write a command on the channel.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<RedisCommand<K,V,?>> |
RedisChannelHandler.dispatch(Collection<? extends RedisCommand<K,V,?>> commands) |
Collection<RedisCommand<K,V,?>> |
StatefulRedisConnectionImpl.dispatch(Collection<? extends RedisCommand<K,V,?>> commands) |
<K,V> Collection<RedisCommand<K,V,?>> |
RedisChannelWriter.write(Collection<? extends RedisCommand<K,V,?>> commands)
Write multiple commands on the channel.
|
Modifier and Type | Method and Description |
---|---|
<T> AsyncCommand<K,V,T> |
AbstractRedisAsyncCommands.dispatch(RedisCommand<K,V,T> cmd) |
protected <T> RedisCommand<K,V,T> |
RedisChannelHandler.dispatch(RedisCommand<K,V,T> cmd) |
<T> RedisCommand<K,V,T> |
StatefulRedisConnectionImpl.dispatch(RedisCommand<K,V,T> command) |
abstract long |
TimeoutOptions.TimeoutSource.getTimeout(RedisCommand<?,?,?> command)
Obtains the timeout for a
RedisCommand . |
protected <T> RedisCommand<K,V,T> |
StatefulRedisConnectionImpl.preProcessCommand(RedisCommand<K,V,T> command) |
<K,V,T> RedisCommand<K,V,T> |
RedisChannelWriter.write(RedisCommand<K,V,T> command)
Write a command on the channel.
|
Modifier and Type | Method and Description |
---|---|
<T,R> Flux<R> |
AbstractRedisReactiveCommands.createDissolvingFlux(Supplier<RedisCommand<K,V,T>> commandSupplier) |
<T> Flux<T> |
AbstractRedisReactiveCommands.createFlux(Supplier<RedisCommand<K,V,T>> commandSupplier) |
<T> Mono<T> |
AbstractRedisReactiveCommands.createMono(Supplier<RedisCommand<K,V,T>> commandSupplier) |
protected Collection<RedisCommand<K,V,?>> |
RedisChannelHandler.dispatch(Collection<? extends RedisCommand<K,V,?>> commands) |
Collection<RedisCommand<K,V,?>> |
StatefulRedisConnectionImpl.dispatch(Collection<? extends RedisCommand<K,V,?>> commands) |
<K,V> Collection<RedisCommand<K,V,?>> |
RedisChannelWriter.write(Collection<? extends RedisCommand<K,V,?>> commands)
Write multiple commands on the channel.
|
Constructor and Description |
---|
PingBeforeActivate(RedisCommand<?,?,?> command) |
Modifier and Type | Method and Description |
---|---|
<T> RedisCommand<K,V,T> |
StatefulConnection.dispatch(RedisCommand<K,V,T> command)
Dispatch a command.
|
Modifier and Type | Method and Description |
---|---|
Collection<RedisCommand<K,V,?>> |
StatefulConnection.dispatch(Collection<? extends RedisCommand<K,V,?>> commands)
Dispatch multiple command in a single write on the channel.
|
Modifier and Type | Method and Description |
---|---|
<T> RedisCommand<K,V,T> |
StatefulConnection.dispatch(RedisCommand<K,V,T> command)
Dispatch a command.
|
Modifier and Type | Method and Description |
---|---|
Collection<RedisCommand<K,V,?>> |
StatefulConnection.dispatch(Collection<? extends RedisCommand<K,V,?>> commands)
Dispatch multiple command in a single write on the channel.
|
Modifier and Type | Method and Description |
---|---|
<T> RedisCommand<K,V,T> |
StatefulRedisClusterConnectionImpl.dispatch(RedisCommand<K,V,T> command) |
Modifier and Type | Method and Description |
---|---|
Collection<RedisCommand<K,V,?>> |
StatefulRedisClusterConnectionImpl.dispatch(Collection<? extends RedisCommand<K,V,?>> commands) |
Modifier and Type | Method and Description |
---|---|
<T> RedisCommand<K,V,T> |
StatefulRedisClusterConnectionImpl.dispatch(RedisCommand<K,V,T> command) |
Modifier and Type | Method and Description |
---|---|
Collection<RedisCommand<K,V,?>> |
StatefulRedisClusterConnectionImpl.dispatch(Collection<? extends RedisCommand<K,V,?>> commands) |
Modifier and Type | Method and Description |
---|---|
io.lettuce.core.dynamic.BatchTasks |
Batcher.batch(RedisCommand<Object,Object,Object> command,
CommandBatching batching)
Add command to the
Batcher . |
Modifier and Type | Method and Description |
---|---|
List<RedisCommand<?,?,?>> |
BatchException.getFailedCommands() |
Constructor and Description |
---|
BatchException(List<RedisCommand<?,?,?>> failedCommands)
Create a new
BatchException . |
Modifier and Type | Method and Description |
---|---|
long |
TimeoutProvider.getTimeoutNs(RedisCommand<?,?,?> command)
Returns the timeout in
TimeUnit.NANOSECONDS for RedisCommand . |
Modifier and Type | Method and Description |
---|---|
void |
MultiOutput.add(RedisCommand<K,V,?> cmd) |
Modifier and Type | Class and Description |
---|---|
class |
AsyncCommand<K,V,T>
An asynchronous redis command and its result.
|
class |
Command<K,V,T>
|
class |
CommandWrapper<K,V,T>
Wrapper for a command.
|
class |
TracedCommand<K,V,T>
Redis command that is aware of an associated
TraceContext . |
class |
TransactionalCommand<K,V,T>
A wrapper for commands within a MULTI transaction.
|
Modifier and Type | Field and Description |
---|---|
protected RedisCommand<K,V,T> |
CommandWrapper.command |
Modifier and Type | Method and Description |
---|---|
protected <C extends RedisCommand<?,?,T>,T> |
DefaultEndpoint.writeToBuffer(C command) |
Modifier and Type | Method and Description |
---|---|
RedisCommand<K,V,T> |
CommandWrapper.getDelegate() |
RedisCommand<K,V,T> |
DecoratedCommand.getDelegate()
The underlying command.
|
RedisCommand<K,V,T> |
AsyncCommand.getDelegate() |
static <K,V,T> RedisCommand<K,V,T> |
CommandWrapper.unwrap(RedisCommand<K,V,T> wrapped)
Unwrap a wrapped command.
|
<K,V,T> RedisCommand<K,V,T> |
CommandExpiryWriter.write(RedisCommand<K,V,T> command) |
<K,V,T> RedisCommand<K,V,T> |
DefaultEndpoint.write(RedisCommand<K,V,T> command) |
Modifier and Type | Method and Description |
---|---|
protected List<RedisCommand<?,?,?>> |
DefaultEndpoint.drainCommands() |
Collection<RedisCommand<?,?,?>> |
CommandHandler.drainQueue() |
Queue<RedisCommand<?,?,?>> |
CommandHandler.getStack() |
<K,V> Collection<RedisCommand<K,V,?>> |
CommandExpiryWriter.write(Collection<? extends RedisCommand<K,V,?>> redisCommands) |
<K,V> Collection<RedisCommand<K,V,?>> |
DefaultEndpoint.write(Collection<? extends RedisCommand<K,V,?>> commands) |
Modifier and Type | Method and Description |
---|---|
protected void |
CommandHandler.afterDecode(ChannelHandlerContext ctx,
RedisCommand<?,?,?> command)
Hook method called after command completion.
|
protected boolean |
CommandHandler.canComplete(RedisCommand<?,?,?> command)
Decoding hook: Can the command be completed.
|
protected void |
CommandHandler.complete(RedisCommand<?,?,?> command)
Decoding hook: Complete a command.
|
boolean |
RedisStateMachine.decode(ByteBuf buffer,
RedisCommand<?,?,?> command,
CommandOutput<?,?,?> output)
Attempt to decode a redis response and return a flag indicating whether a complete response was read.
|
protected boolean |
CommandHandler.decode(ByteBuf buffer,
RedisCommand<?,?,?> command,
CommandOutput<?,?,?> output) |
protected CommandOutput<?,?,?> |
CommandHandler.getCommandOutput(RedisCommand<?,?,?> command)
Decoding hook: Retrieve
CommandOutput for RedisCommand decoding. |
protected void |
RedisStateMachine.safeMulti(CommandOutput<?,?,?> output,
int count,
RedisCommand<?,?,?> command)
Safely sets
CommandOutput.multi(int) . |
protected void |
RedisStateMachine.safeSet(CommandOutput<?,?,?> output,
ByteBuffer bytes,
RedisCommand<?,?,?> command)
Safely sets
CommandOutput.set(ByteBuffer) . |
protected void |
RedisStateMachine.safeSet(CommandOutput<?,?,?> output,
long integer,
RedisCommand<?,?,?> command)
Safely sets
CommandOutput.set(long) . |
protected void |
RedisStateMachine.safeSetError(CommandOutput<?,?,?> output,
ByteBuffer bytes,
RedisCommand<?,?,?> command)
Safely sets
CommandOutput.setError(ByteBuffer) . |
protected void |
RedisStateMachine.safeSetSingle(CommandOutput<?,?,?> output,
ByteBuffer bytes,
RedisCommand<?,?,?> command)
Safely sets
CommandOutput.set(ByteBuffer) . |
static <K,V,T> RedisCommand<K,V,T> |
CommandWrapper.unwrap(RedisCommand<K,V,T> wrapped)
Unwrap a wrapped command.
|
static <R,K,V,T> R |
CommandWrapper.unwrap(RedisCommand<K,V,T> wrapped,
Class<R> iface)
Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not
exposed by the proxy.
|
<K,V,T> RedisCommand<K,V,T> |
CommandExpiryWriter.write(RedisCommand<K,V,T> command) |
<K,V,T> RedisCommand<K,V,T> |
DefaultEndpoint.write(RedisCommand<K,V,T> command) |
Modifier and Type | Method and Description |
---|---|
<K,V> Collection<RedisCommand<K,V,?>> |
CommandExpiryWriter.write(Collection<? extends RedisCommand<K,V,?>> redisCommands) |
<K,V> Collection<RedisCommand<K,V,?>> |
DefaultEndpoint.write(Collection<? extends RedisCommand<K,V,?>> commands) |
Constructor and Description |
---|
AsyncCommand(RedisCommand<K,V,T> command) |
AsyncCommand(RedisCommand<K,V,T> command,
int count) |
CommandWrapper(RedisCommand<K,V,T> command) |
TracedCommand(RedisCommand<K,V,T> command,
TraceContext traceContext) |
TransactionalCommand(RedisCommand<K,V,T> command) |
Modifier and Type | Method and Description |
---|---|
<K1,V1,T> RedisCommand<K1,V1,T> |
PubSubEndpoint.write(RedisCommand<K1,V1,T> command) |
Modifier and Type | Method and Description |
---|---|
<K1,V1> Collection<RedisCommand<K1,V1,?>> |
PubSubEndpoint.write(Collection<? extends RedisCommand<K1,V1,?>> redisCommands) |
Modifier and Type | Method and Description |
---|---|
protected void |
PubSubCommandHandler.afterDecode(ChannelHandlerContext ctx,
RedisCommand<?,?,?> command) |
protected boolean |
PubSubCommandHandler.canComplete(RedisCommand<?,?,?> command) |
protected void |
PubSubCommandHandler.complete(RedisCommand<?,?,?> command) |
protected CommandOutput<?,?,?> |
PubSubCommandHandler.getCommandOutput(RedisCommand<?,?,?> command) |
<K1,V1,T> RedisCommand<K1,V1,T> |
PubSubEndpoint.write(RedisCommand<K1,V1,T> command) |
Modifier and Type | Method and Description |
---|---|
<K1,V1> Collection<RedisCommand<K1,V1,?>> |
PubSubEndpoint.write(Collection<? extends RedisCommand<K1,V1,?>> redisCommands) |
Modifier and Type | Method and Description |
---|---|
<T> RedisCommand<K,V,T> |
StatefulRedisSentinelConnectionImpl.dispatch(RedisCommand<K,V,T> command) |
Modifier and Type | Method and Description |
---|---|
Collection<RedisCommand<K,V,?>> |
StatefulRedisSentinelConnectionImpl.dispatch(Collection<? extends RedisCommand<K,V,?>> commands) |
Modifier and Type | Method and Description |
---|---|
<T> AsyncCommand<K,V,T> |
RedisSentinelAsyncCommandsImpl.dispatch(RedisCommand<K,V,T> cmd) |
<T> RedisCommand<K,V,T> |
StatefulRedisSentinelConnectionImpl.dispatch(RedisCommand<K,V,T> command) |
Modifier and Type | Method and Description |
---|---|
Collection<RedisCommand<K,V,?>> |
StatefulRedisSentinelConnectionImpl.dispatch(Collection<? extends RedisCommand<K,V,?>> commands) |
Copyright © 2021 lettuce.io. All rights reserved.