Class AuthenticatingRedisClient
java.lang.Object
io.lettuce.core.AbstractRedisClient
io.lettuce.core.RedisClient
org.springframework.data.redis.connection.lettuce.AuthenticatingRedisClient
Deprecated.
Extension of
RedisClient
that calls auth on all new connections using the supplied credentials- Author:
- Jennifer Hickey, Mark Paluch, Christoph Strobl
-
Field Summary
Fields inherited from class io.lettuce.core.AbstractRedisClient
channels, closeableResources, connectionEvents
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticatingRedisClient
(String host, int port, String password) Deprecated.AuthenticatingRedisClient
(String host, String password) Deprecated. -
Method Summary
Modifier and TypeMethodDescription<K,
V> io.lettuce.core.api.StatefulRedisConnection<K, V> connect
(io.lettuce.core.codec.RedisCodec<K, V> codec) Deprecated.<K,
V> io.lettuce.core.pubsub.StatefulRedisPubSubConnection<K, V> connectPubSub
(io.lettuce.core.codec.RedisCodec<K, V> codec) Deprecated.Methods inherited from class io.lettuce.core.RedisClient
connect, connect, connect, connectAsync, connectPubSub, connectPubSub, connectPubSub, connectPubSubAsync, connectSentinel, connectSentinel, connectSentinel, connectSentinel, connectSentinelAsync, create, create, create, create, create, create, getSocketAddress, newStatefulRedisConnection, newStatefulRedisPubSubConnection, newStatefulRedisSentinelConnection, newStringStringCodec, setOptions
Methods inherited from class io.lettuce.core.AbstractRedisClient
addListener, addListener, channelType, connectionBuilder, createHandshake, getChannelCount, getCommandListeners, getConnection, getConnection, getDefaultTimeout, getOptions, getResourceCount, getResources, initializeChannelAsync, removeListener, removeListener, setDefaultTimeout, setDefaultTimeout, shutdown, shutdown, shutdown, shutdownAsync, shutdownAsync
-
Constructor Details
-
AuthenticatingRedisClient
Deprecated. -
AuthenticatingRedisClient
Deprecated.
-
-
Method Details
-
connect
public <K,V> io.lettuce.core.api.StatefulRedisConnection<K,V> connect(io.lettuce.core.codec.RedisCodec<K, V> codec) Deprecated.- Overrides:
connect
in classio.lettuce.core.RedisClient
-
connectPubSub
public <K,V> io.lettuce.core.pubsub.StatefulRedisPubSubConnection<K,V> connectPubSub(io.lettuce.core.codec.RedisCodec<K, V> codec) Deprecated.- Overrides:
connectPubSub
in classio.lettuce.core.RedisClient
-
RedisURI.setPassword(String)