Package | Description |
---|---|
com.lambdaworks.redis |
The redis client package containing
RedisClient for regular and sentinel operations. |
com.lambdaworks.redis.pubsub |
Pub/Sub connection classes.
|
Modifier and Type | Method and Description |
---|---|
CommandHandler<?,?> |
ConnectionBuilder.commandHandler() |
Modifier and Type | Method and Description |
---|---|
ConnectionBuilder |
ConnectionBuilder.commandHandler(CommandHandler<?,?> commandHandler) |
protected <K,V,T extends RedisChannelHandler<K,V>> |
AbstractRedisClient.connectAsyncImpl(CommandHandler<K,V> handler,
T connection,
Supplier<SocketAddress> socketAddressSupplier) |
protected void |
AbstractRedisClient.connectionBuilder(CommandHandler<?,?> handler,
RedisChannelHandler<?,?> connection,
Supplier<SocketAddress> socketAddressSupplier,
ConnectionBuilder connectionBuilder,
RedisURI redisURI)
Populate connection builder with necessary resources.
|
protected <K,V> StatefulRedisConnectionImpl<K,V> |
RedisClient.newStatefulRedisConnection(CommandHandler<K,V> commandHandler,
RedisCodec<K,V> codec)
|
protected <K,V> StatefulRedisConnectionImpl<K,V> |
RedisClient.newStatefulRedisConnection(CommandHandler<K,V> commandHandler,
RedisCodec<K,V> codec,
long timeout,
TimeUnit unit)
Create a new instance of
StatefulRedisConnectionImpl or a subclass. |
protected <K,V> StatefulRedisSentinelConnectionImpl<K,V> |
RedisClient.newStatefulRedisSentinelConnection(CommandHandler<K,V> commandHandler,
RedisCodec<K,V> codec)
|
protected <K,V> StatefulRedisSentinelConnectionImpl<K,V> |
RedisClient.newStatefulRedisSentinelConnection(CommandHandler<K,V> commandHandler,
RedisCodec<K,V> codec,
long timeout,
TimeUnit unit)
Create a new instance of
StatefulRedisSentinelConnectionImpl or a subclass. |
Modifier and Type | Class and Description |
---|---|
class |
PubSubCommandHandler<K,V>
A netty
ChannelHandler responsible for writing Redis Pub/Sub commands and reading the response stream from the
server. |
Copyright © 2018 lettuce.io. All rights reserved.