Uses of Class
io.lettuce.core.RedisURI
-
Packages that use RedisURI Package Description io.lettuce.core The Redis client package containingRedisClient
for Redis Standalone and Redis Sentinel operations.io.lettuce.core.cluster Client for Redis Cluster, seeRedisClusterClient
.io.lettuce.core.cluster.event Cluster event types.io.lettuce.core.cluster.models.partitions Model and parser for theCLUSTER NODES
andCLUSTER SLAVES
output.io.lettuce.core.cluster.topology Support for cluster topology refresh.io.lettuce.core.masterreplica Client support for Redis Master/Replica setups.io.lettuce.core.masterslave Client support for Redis Master/Slave setups.io.lettuce.core.models.role Model and parser for theROLE
output.io.lettuce.core.resource Client resource infrastructure providers. -
-
Uses of RedisURI in io.lettuce.core
Methods in io.lettuce.core that return RedisURI Modifier and Type Method Description RedisURI
RedisURI.Builder. build()
static RedisURI
RedisURI. create(String uri)
Create a Redis URI from an URI string.static RedisURI
RedisURI. create(String host, int port)
Create a Redis URI from host and port.static RedisURI
RedisURI. create(URI uri)
Create a Redis URI from an URI string: The uri must follow conventions ofURI
RedisURI
ConnectionBuilder. getRedisURI()
Methods in io.lettuce.core that return types with arguments of type RedisURI Modifier and Type Method Description List<RedisURI>
RedisURI. getSentinels()
Methods in io.lettuce.core with parameters of type RedisURI Modifier and Type Method Description void
ConnectionBuilder. apply(RedisURI redisURI)
Apply settings fromRedisURI
void
ConnectionState. apply(RedisURI redisURI)
Applies settings fromRedisURI
.void
RedisURI. applyAuthentication(RedisURI source)
Apply authentication from anotherRedisURI
.void
RedisURI. applySsl(RedisURI source)
Apply authentication from anotherRedisURI
.static RedisURI.Builder
RedisURI. builder(RedisURI source)
Create a newRedisURI.Builder
that is initialized from a plainRedisURI
.<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 suppliedRedisURI
that treats keys and values as UTF-8 strings.<K,V>
ConnectionFuture<StatefulRedisConnection<K,V>>RedisClient. connectAsync(RedisCodec<K,V> codec, RedisURI redisURI)
protected void
AbstractRedisClient. connectionBuilder(Mono<SocketAddress> socketAddressSupplier, ConnectionBuilder connectionBuilder, ConnectionEvents connectionEvents, RedisURI redisURI)
Populate connection builder with necessary resources.protected void
AbstractRedisClient. connectionBuilder(Mono<SocketAddress> socketAddressSupplier, ConnectionBuilder connectionBuilder, RedisURI redisURI)
Populate connection builder with necessary resources.<K,V>
StatefulRedisPubSubConnection<K,V>RedisClient. connectPubSub(RedisCodec<K,V> codec, RedisURI redisURI)
StatefulRedisPubSubConnection<String,String>
RedisClient. connectPubSub(RedisURI redisURI)
Open a new pub/sub connection to a Redis server using the suppliedRedisURI
that treats keys and values as UTF-8 strings.<K,V>
ConnectionFuture<StatefulRedisPubSubConnection<K,V>>RedisClient. connectPubSubAsync(RedisCodec<K,V> codec, RedisURI redisURI)
<K,V>
StatefulRedisSentinelConnection<K,V>RedisClient. connectSentinel(RedisCodec<K,V> codec, RedisURI redisURI)
StatefulRedisSentinelConnection<String,String>
RedisClient. connectSentinel(RedisURI redisURI)
Open a connection to a Redis Sentinel using the suppliedRedisURI
that treats keys and values as UTF-8 strings.<K,V>
CompletableFuture<StatefulRedisSentinelConnection<K,V>>RedisClient. connectSentinelAsync(RedisCodec<K,V> codec, RedisURI redisURI)
static RedisClient
RedisClient. create(RedisURI redisURI)
Create a new client that connects to the supplieduri
with defaultClientResources
.static RedisClient
RedisClient. create(ClientResources clientResources, RedisURI redisURI)
Create a new client that connects to the supplieduri
with sharedClientResources
.protected Mono<SocketAddress>
RedisClient. getSocketAddress(RedisURI redisURI)
SslConnectionBuilder
SslConnectionBuilder. ssl(RedisURI redisURI)
RedisURI.Builder
RedisURI.Builder. withAuthentication(RedisURI source)
Apply authentication from anotherRedisURI
.RedisURI.Builder
RedisURI.Builder. withSentinel(RedisURI redisURI)
Add a withSentinel RedisURI to the existing builder.RedisURI.Builder
RedisURI.Builder. withSsl(RedisURI source)
Apply authentication from anotherRedisURI
.Constructors in io.lettuce.core with parameters of type RedisURI Constructor Description RedisClient(ClientResources clientResources, RedisURI redisURI)
-
Uses of RedisURI in io.lettuce.core.cluster
Methods in io.lettuce.core.cluster that return RedisURI Modifier and Type Method Description protected RedisURI
RedisClusterClient. getFirstUri()
Returns the firstRedisURI
configured with thisRedisClusterClient
instance.Methods in io.lettuce.core.cluster that return types with arguments of type RedisURI Modifier and Type Method Description protected Iterable<RedisURI>
RedisClusterClient. getInitialUris()
protected Iterable<RedisURI>
RedisClusterClient. getTopologyRefreshSource()
Returns the seedRedisURI
for the topology refreshing.static List<RedisURI>
RedisClusterURIUtil. toRedisURIs(URI uri)
Methods in io.lettuce.core.cluster with parameters of type RedisURI Modifier and Type Method Description static RedisClusterClient
RedisClusterClient. create(RedisURI redisURI)
Create a new client that connects to the supplieduri
with defaultClientResources
.static RedisClusterClient
RedisClusterClient. create(ClientResources clientResources, RedisURI redisURI)
Create a new client that connects to the supplieduri
with sharedClientResources
.Method parameters in io.lettuce.core.cluster with type arguments of type RedisURI Modifier and Type Method Description static RedisClusterClient
RedisClusterClient. create(ClientResources clientResources, Iterable<RedisURI> redisURIs)
Create a new client that connects to the supplieduri
with sharedClientResources
.static RedisClusterClient
RedisClusterClient. create(Iterable<RedisURI> redisURIs)
Create a new client that connects to the supplieduri
with defaultClientResources
.protected Partitions
RedisClusterClient. determinePartitions(Partitions current, Map<RedisURI,Partitions> topologyViews)
Determines atopology view
based on the current and the obtain topology views.protected static <T> CompletableFuture<T>
RedisClusterClient. transformAsyncConnectionException(CompletionStage<T> future, Iterable<RedisURI> target)
Constructor parameters in io.lettuce.core.cluster with type arguments of type RedisURI Constructor Description RedisClusterClient(ClientResources clientResources, Iterable<RedisURI> redisURIs)
Initialize the client with a list of cluster URI's. -
Uses of RedisURI in io.lettuce.core.cluster.event
Methods in io.lettuce.core.cluster.event that return types with arguments of type RedisURI Modifier and Type Method Description List<RedisURI>
TopologyRefreshEvent. getTopologyRefreshSource()
Constructor parameters in io.lettuce.core.cluster.event with type arguments of type RedisURI Constructor Description TopologyRefreshEvent(List<RedisURI> topologyRefreshSource)
-
Uses of RedisURI in io.lettuce.core.cluster.models.partitions
Methods in io.lettuce.core.cluster.models.partitions that return RedisURI Modifier and Type Method Description RedisURI
RedisClusterNode. getUri()
Methods in io.lettuce.core.cluster.models.partitions that return types with arguments of type RedisURI Modifier and Type Method Description List<RedisURI>
RedisClusterNode. getAliases()
Methods in io.lettuce.core.cluster.models.partitions with parameters of type RedisURI Modifier and Type Method Description void
RedisClusterNode. addAlias(RedisURI alias)
Add an alias toRedisClusterNode
.void
RedisClusterNode. setUri(RedisURI uri)
Sets the connection point details.Constructors in io.lettuce.core.cluster.models.partitions with parameters of type RedisURI Constructor Description RedisClusterNode(RedisURI uri, String nodeId, boolean connected, String slaveOf, long pingSentTimestamp, long pongReceivedTimestamp, long configEpoch, List<Integer> slots, Set<RedisClusterNode.NodeFlag> flags)
-
Uses of RedisURI in io.lettuce.core.cluster.topology
Methods in io.lettuce.core.cluster.topology that return types with arguments of type RedisURI Modifier and Type Method Description CompletionStage<Map<RedisURI,Partitions>>
ClusterTopologyRefresh. loadViews(Iterable<RedisURI> seed, Duration connectTimeout, boolean discovery)
Method parameters in io.lettuce.core.cluster.topology with type arguments of type RedisURI Modifier and Type Method Description CompletionStage<Map<RedisURI,Partitions>>
ClusterTopologyRefresh. loadViews(Iterable<RedisURI> seed, Duration connectTimeout, boolean discovery)
-
Uses of RedisURI in io.lettuce.core.masterreplica
Methods in io.lettuce.core.masterreplica with parameters of type RedisURI Modifier and Type Method Description static <K,V>
StatefulRedisMasterReplicaConnection<K,V>MasterReplica. connect(RedisClient redisClient, RedisCodec<K,V> codec, RedisURI redisURI)
static <K,V>
CompletableFuture<StatefulRedisMasterReplicaConnection<K,V>>MasterReplica. connectAsync(RedisClient redisClient, RedisCodec<K,V> codec, RedisURI redisURI)
Method parameters in io.lettuce.core.masterreplica with type arguments of type RedisURI Modifier and Type Method Description static <K,V>
StatefulRedisMasterReplicaConnection<K,V>MasterReplica. connect(RedisClient redisClient, RedisCodec<K,V> codec, Iterable<RedisURI> redisURIs)
static <K,V>
CompletableFuture<StatefulRedisMasterReplicaConnection<K,V>>MasterReplica. connectAsync(RedisClient redisClient, RedisCodec<K,V> codec, Iterable<RedisURI> redisURIs)
-
Uses of RedisURI in io.lettuce.core.masterslave
Methods in io.lettuce.core.masterslave with parameters of type RedisURI Modifier and Type Method Description static <K,V>
StatefulRedisMasterSlaveConnection<K,V>MasterSlave. connect(RedisClient redisClient, RedisCodec<K,V> codec, RedisURI redisURI)
Deprecated.static <K,V>
CompletableFuture<StatefulRedisMasterSlaveConnection<K,V>>MasterSlave. connectAsync(RedisClient redisClient, RedisCodec<K,V> codec, RedisURI redisURI)
Deprecated.Method parameters in io.lettuce.core.masterslave with type arguments of type RedisURI Modifier and Type Method Description static <K,V>
StatefulRedisMasterSlaveConnection<K,V>MasterSlave. connect(RedisClient redisClient, RedisCodec<K,V> codec, Iterable<RedisURI> redisURIs)
Deprecated.static <K,V>
CompletableFuture<StatefulRedisMasterSlaveConnection<K,V>>MasterSlave. connectAsync(RedisClient redisClient, RedisCodec<K,V> codec, Iterable<RedisURI> redisURIs)
Deprecated. -
Uses of RedisURI in io.lettuce.core.models.role
Methods in io.lettuce.core.models.role that return RedisURI Modifier and Type Method Description RedisURI
RedisNodeDescription. getUri()
-
Uses of RedisURI in io.lettuce.core.resource
Methods in io.lettuce.core.resource with parameters of type RedisURI Modifier and Type Method Description SocketAddress
MappingSocketAddressResolver. resolve(RedisURI redisURI)
SocketAddress
SocketAddressResolver. resolve(RedisURI redisURI)
Resolve aRedisURI
to aSocketAddress
.static SocketAddress
SocketAddressResolver. resolve(RedisURI redisURI, DnsResolver dnsResolver)
Resolves aRedisURI
to aSocketAddress
.
-