Package | Description |
---|---|
com.lambdaworks.redis |
The redis client package containing
RedisClient for regular and sentinel operations. |
com.lambdaworks.redis.api.async |
Standalone Redis API for asynchronous executed commands.
|
com.lambdaworks.redis.api.rx |
Standalone Redis API for reactive commands.
|
com.lambdaworks.redis.api.sync |
Standalone Redis API for synchronous executed commands.
|
com.lambdaworks.redis.cluster |
Client for redis clusters
RedisClusterClient . |
com.lambdaworks.redis.cluster.api |
Redis Cluster connection API.
|
com.lambdaworks.redis.masterslave | |
com.lambdaworks.redis.pubsub |
Pub/Sub connection classes.
|
Modifier and Type | Class and Description |
---|---|
class |
StatefulRedisConnectionImpl<K,V>
A thread-safe connection to a Redis server.
|
Modifier and Type | Method and Description |
---|---|
StatefulRedisConnection<String,String> |
RedisClient.connect()
Open a new connection to a Redis server that treats keys and values as UTF-8 strings.
|
<K,V> StatefulRedisConnection<K,V> |
RedisClient.connect(RedisCodec<K,V> codec)
Open a new connection to a Redis server.
|
<K,V> StatefulRedisConnection<K,V> |
RedisClient.connect(RedisCodec<K,V> codec,
RedisURI redisURI)
|
StatefulRedisConnection<String,String> |
RedisClient.connect(RedisURI redisURI)
Open a new connection to a Redis server using the supplied
RedisURI that treats keys and values as UTF-8 strings. |
StatefulRedisConnection<K,V> |
RedisReactiveCommandsImpl.getStatefulConnection() |
StatefulRedisConnection<K,V> |
RedisConnection.getStatefulConnection()
Deprecated.
|
StatefulRedisConnection<K,V> |
RedisAsyncConnection.getStatefulConnection()
Deprecated.
|
StatefulRedisConnection<K,V> |
RedisAsyncCommandsImpl.getStatefulConnection() |
Constructor and Description |
---|
RedisAsyncCommandsImpl(StatefulRedisConnection<K,V> connection,
RedisCodec<K,V> codec)
Initialize a new instance.
|
RedisReactiveCommandsImpl(StatefulRedisConnection<K,V> connection,
RedisCodec<K,V> codec)
Initialize a new instance.
|
Modifier and Type | Method and Description |
---|---|
StatefulRedisConnection<K,V> |
RedisAsyncCommands.getStatefulConnection() |
Modifier and Type | Method and Description |
---|---|
StatefulRedisConnection<K,V> |
RedisReactiveCommands.getStatefulConnection() |
Modifier and Type | Method and Description |
---|---|
StatefulRedisConnection<K,V> |
RedisCommands.getStatefulConnection() |
Modifier and Type | Method and Description |
---|---|
protected StatefulRedisConnection<String,String> |
RedisClusterClient.connectToNode(SocketAddress socketAddress) |
StatefulRedisConnection<K,V> |
StatefulRedisClusterConnectionImpl.getConnection(String nodeId) |
StatefulRedisConnection<K,V> |
StatefulRedisClusterConnectionImpl.getConnection(String host,
int port) |
Modifier and Type | Method and Description |
---|---|
StatefulRedisConnection<K,V> |
StatefulRedisClusterConnection.getConnection(String nodeId)
Retrieve a connection to the specified cluster node using the nodeId.
|
StatefulRedisConnection<K,V> |
StatefulRedisClusterConnection.getConnection(String host,
int port)
Retrieve a connection to the specified cluster node using the nodeId.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StatefulRedisMasterSlaveConnection<K,V>
Redis Master-Slave connection.
|
Modifier and Type | Method and Description |
---|---|
StatefulRedisConnection<K,V> |
MasterSlaveConnectionProvider.getConnection(com.lambdaworks.redis.masterslave.MasterSlaveConnectionProvider.Intent intent)
Retrieve a
StatefulRedisConnection by the intent. |
protected StatefulRedisConnection<K,V> |
MasterSlaveConnectionProvider.getConnection(RedisNodeDescription redisNodeDescription) |
Modifier and Type | Method and Description |
---|---|
protected Collection<StatefulRedisConnection<K,V>> |
MasterSlaveConnectionProvider.allConnections() |
Constructor and Description |
---|
MasterSlaveConnectionProvider(RedisClient redisClient,
RedisCodec<K,V> redisCodec,
StatefulRedisConnection<K,V> masterConnection,
RedisURI initialRedisUri) |
MasterSlaveTopologyProvider(StatefulRedisConnection<?,?> masterConnection,
RedisURI masterURI) |
Modifier and Type | Interface and Description |
---|---|
interface |
StatefulRedisPubSubConnection<K,V>
An asynchronous thread-safe pub/sub connection to a redis server.
|
Modifier and Type | Class and Description |
---|---|
class |
StatefulRedisPubSubConnectionImpl<K,V>
An thread-safe pub/sub connection to a Redis server.
|
Copyright © 2016. All rights reserved.