Package | Description |
---|---|
com.lambdaworks.redis |
The redis client package containing
RedisClient for regular and sentinel operations. |
com.lambdaworks.redis.cluster |
Client for redis clusters
RedisClusterClient |
com.lambdaworks.redis.pubsub |
Pub/Sub connection classes.
|
Modifier and Type | Class and Description |
---|---|
class |
RedisAsyncConnectionImpl<K,V>
An asynchronous thread-safe connection to a redis server.
|
Modifier and Type | Method and Description |
---|---|
RedisAsyncConnection<String,String> |
RedisClient.connectAsync()
Open a new asynchronous connection to a Redis server that treats keys and values as UTF-8 strings.
|
<K,V> RedisAsyncConnection<K,V> |
RedisClient.connectAsync(RedisCodec<K,V> codec)
Open a new asynchronous connection to a Redis server.
|
<K,V> RedisAsyncConnection<K,V> |
RedisClient.connectAsync(RedisCodec<K,V> codec,
RedisURI redisURI)
|
RedisAsyncConnection<String,String> |
RedisClient.connectAsync(RedisURI redisURI)
Open a new asynchronous connection to a Redis server using the supplied
RedisURI that treats keys and values as
UTF-8 strings. |
Modifier and Type | Method and Description |
---|---|
RedisConnectionPool<RedisAsyncConnection<String,String>> |
RedisClient.asyncPool()
Creates a connection pool for asynchronous connections. 5 max idle connections and 20 max active connections.
|
RedisConnectionPool<RedisAsyncConnection<String,String>> |
RedisClient.asyncPool(int maxIdle,
int maxActive)
Creates a connection pool for asynchronous connections.
|
<K,V> RedisConnectionPool<RedisAsyncConnection<K,V>> |
RedisClient.asyncPool(RedisCodec<K,V> codec,
int maxIdle,
int maxActive)
Creates a connection pool for asynchronous connections.
|
Modifier and Type | Class and Description |
---|---|
class |
RedisAdvancedClusterAsyncConnectionImpl<K,V>
Advanced asynchronous Cluster connection.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RedisPubSubConnection<K,V> |
Modifier and Type | Class and Description |
---|---|
class |
RedisPubSubConnectionImpl<K,V>
An asynchronous thread-safe pub/sub connection to a redis server.
|
Copyright © 2016. All rights reserved.