| Package | Description |
|---|---|
| com.lambdaworks.redis |
The redis client package containing
RedisClient for regular and sentinel operations. |
| com.lambdaworks.redis.cluster |
Client for Redis Cluster, see
RedisClusterClient. |
| com.lambdaworks.redis.cluster.topology |
Support for cluster topology refresh.
|
| com.lambdaworks.redis.protocol |
Redis protocol layer abstraction.
|
| com.lambdaworks.redis.pubsub |
Pub/Sub connection classes.
|
| com.lambdaworks.redis.resource |
Client resource infrastructure providers.
|
| com.lambdaworks.redis.support |
Supportive classes such as
RedisClientCdiBean for CDI support, RedisClientFactoryBean for Spring. |
| Modifier and Type | Field and Description |
|---|---|
protected ClientResources |
AbstractRedisClient.clientResources |
| Modifier and Type | Method and Description |
|---|---|
ClientResources |
ConnectionBuilder.clientResources() |
ClientResources |
RedisClient.getResources()
Returns the
ClientResources which are used with that client. |
| Modifier and Type | Method and Description |
|---|---|
ConnectionBuilder |
ConnectionBuilder.clientResources(ClientResources clientResources) |
static RedisClient |
RedisClient.create(ClientResources clientResources)
Creates a uri-less RedisClient with shared
ClientResources. |
static RedisClient |
RedisClient.create(ClientResources clientResources,
RedisURI redisURI)
Create a new client that connects to the supplied
uri with shared ClientResources. |
static RedisClient |
RedisClient.create(ClientResources clientResources,
String uri)
Create a new client that connects to the supplied uri with shared
ClientResources.You need to shut down the
ClientResources upon shutting down your application. |
| Constructor and Description |
|---|
AbstractRedisClient(ClientResources clientResources)
Create a new instance with client resources.
|
RedisClient(ClientResources clientResources,
RedisURI redisURI) |
| Modifier and Type | Method and Description |
|---|---|
ClientResources |
RedisClusterClient.getResources()
Returns the
ClientResources which are used with that client. |
| Modifier and Type | Method and Description |
|---|---|
static RedisClusterClient |
RedisClusterClient.create(ClientResources clientResources,
Iterable<RedisURI> redisURIs)
Create a new client that connects to the supplied
uri with shared ClientResources. |
static RedisClusterClient |
RedisClusterClient.create(ClientResources clientResources,
RedisURI redisURI)
Create a new client that connects to the supplied
uri with shared ClientResources. |
static RedisClusterClient |
RedisClusterClient.create(ClientResources clientResources,
String uri)
Create a new client that connects to the supplied uri with shared
ClientResources.You need to shut down the
ClientResources upon shutting down your application. |
| Constructor and Description |
|---|
RedisClusterClient(ClientResources clientResources,
Iterable<RedisURI> redisURIs)
Initialize the client with a list of cluster URI's.
|
| Constructor and Description |
|---|
ClusterTopologyRefresh(NodeConnectionFactory nodeConnectionFactory,
ClientResources clientResources) |
| Modifier and Type | Field and Description |
|---|---|
protected ClientResources |
CommandHandler.clientResources |
| Constructor and Description |
|---|
CommandHandler(ClientOptions clientOptions,
ClientResources clientResources,
Queue<RedisCommand<K,V,?>> queue)
Initialize a new instance that handles commands from the supplied queue.
|
| Constructor and Description |
|---|
PubSubCommandHandler(ClientOptions clientOptions,
ClientResources clientResources,
Queue<RedisCommand<K,V,?>> queue,
RedisCodec<K,V> codec)
Initialize a new instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultClientResources
Default instance of the client resources.
|
| Modifier and Type | Method and Description |
|---|---|
protected ClientResources |
ClientResourcesFactoryBean.createInstance() |
ClientResources |
LettuceFactoryBeanSupport.getClientResources() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ClientResourcesFactoryBean.destroyInstance(ClientResources instance) |
void |
LettuceFactoryBeanSupport.setClientResources(ClientResources clientResources)
Set shared client resources to reuse across different client instances.
|
Copyright © 2016. All rights reserved.