Package | Description |
---|---|
com.lambdaworks.redis |
The redis client package containing
RedisClient for regular and sentinel operations. |
com.lambdaworks.redis.api |
Standalone Redis connection API.
|
com.lambdaworks.redis.pubsub.api.sync |
PubSub Redis API for synchronous executed commands.
|
Modifier and Type | Field and Description |
---|---|
protected RedisCommands<K,V> |
StatefulRedisConnectionImpl.sync |
Modifier and Type | Method and Description |
---|---|
RedisCommands<K,V> |
StatefulRedisConnectionImpl.sync() |
Modifier and Type | Method and Description |
---|---|
RedisConnectionPool<RedisCommands<String,String>> |
RedisClient.pool()
Creates a connection pool for synchronous connections. 5 max idle connections and 20 max active connections.
|
RedisConnectionPool<RedisCommands<String,String>> |
RedisClient.pool(int maxIdle,
int maxActive)
Creates a connection pool for synchronous connections.
|
<K,V> RedisConnectionPool<RedisCommands<K,V>> |
RedisClient.pool(RedisCodec<K,V> codec,
int maxIdle,
int maxActive)
Creates a connection pool for synchronous connections.
|
Modifier and Type | Method and Description |
---|---|
RedisCommands<K,V> |
StatefulRedisConnection.sync()
Returns the
RedisCommands API for the current connection. |
Modifier and Type | Interface and Description |
---|---|
interface |
RedisPubSubCommands<K,V>
Synchronous and thread-safe Redis PubSub API.
|
Copyright © 2016. All rights reserved.