public interface NodeConnectionFactory
connections to Redis cluster nodes.| Modifier and Type | Method and Description |
|---|---|
<K,V> StatefulRedisConnection<K,V> |
connectToNode(RedisCodec<K,V> codec,
SocketAddress socketAddress)
Connects to a
SocketAddress with the given RedisCodec. |
<K,V> ConnectionFuture<StatefulRedisConnection<K,V>> |
connectToNodeAsync(RedisCodec<K,V> codec,
SocketAddress socketAddress)
Connects to a
SocketAddress with the given RedisCodec asynchronously. |
<K,V> StatefulRedisConnection<K,V> connectToNode(RedisCodec<K,V> codec, SocketAddress socketAddress)
SocketAddress with the given RedisCodec.K - Key type.V - Value type.codec - must not be null.socketAddress - must not be null.StatefulRedisConnection<K,V> ConnectionFuture<StatefulRedisConnection<K,V>> connectToNodeAsync(RedisCodec<K,V> codec, SocketAddress socketAddress)
SocketAddress with the given RedisCodec asynchronously.K - Key type.V - Value type.codec - must not be null.socketAddress - must not be null.StatefulRedisConnectionCopyright © 2019 lettuce.io. All rights reserved.