RedisURI.setPassword(String)
@Deprecated public class AuthenticatingRedisClient extends io.lettuce.core.RedisClient
RedisClient
that calls auth on all new connections using the supplied credentialsConstructor and Description |
---|
AuthenticatingRedisClient(String host,
int port,
String password)
Deprecated.
|
AuthenticatingRedisClient(String host,
String password)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<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.
|
connect, connect, connect, connectAsync, connectPubSub, connectPubSub, connectPubSub, connectPubSubAsync, connectSentinel, connectSentinel, connectSentinel, connectSentinel, connectSentinelAsync, create, create, create, create, create, create, getResources, getSocketAddress, newStatefulRedisConnection, newStatefulRedisPubSubConnection, newStatefulRedisSentinelConnection, newStringStringCodec, setOptions
addListener, channelType, connectionBuilder, getChannelCount, getConnection, getConnection, getOptions, getResourceCount, initializeChannelAsync, removeListener, setDefaultTimeout, setDefaultTimeout, shutdown, shutdown, shutdown, shutdownAsync, shutdownAsync
public AuthenticatingRedisClient(String host, int port, String password)
public <K,V> io.lettuce.core.api.StatefulRedisConnection<K,V> connect(io.lettuce.core.codec.RedisCodec<K,V> codec)
connect
in class io.lettuce.core.RedisClient
public <K,V> io.lettuce.core.pubsub.StatefulRedisPubSubConnection<K,V> connectPubSub(io.lettuce.core.codec.RedisCodec<K,V> codec)
connectPubSub
in class io.lettuce.core.RedisClient
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.