Uses of Class
io.lettuce.core.RedisURI
| Package | Description |
|---|---|
| io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
| io.lettuce.core.cluster |
Client for Redis Cluster, see
RedisClusterClient. |
| io.lettuce.core.cluster.event |
Cluster event types.
|
| io.lettuce.core.cluster.models.partitions |
Model and parser for the
CLUSTER NODES and CLUSTER 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 the
ROLE 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 RedisURIRedisURI.Builder. build()static RedisURIRedisURI. create(String uri)Create a Redis URI from an URI string.static RedisURIRedisURI. create(String host, int port)Create a Redis URI from host and port.static RedisURIRedisURI. create(URI uri)Create a Redis URI from an URI string: The uri must follow conventions ofURIRedisURIConnectionBuilder. 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 voidConnectionBuilder. apply(RedisURI redisURI)Apply settings fromRedisURIvoidConnectionState. apply(RedisURI redisURI)Applies settings fromRedisURI.voidRedisURI. applyAuthentication(RedisURI source)Apply authentication from anotherRedisURI.voidRedisURI. applySsl(RedisURI source)Apply authentication from anotherRedisURI.static RedisURI.BuilderRedisURI. builder(RedisURI source)Create a newRedisURI.Builderthat 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 suppliedRedisURIthat treats keys and values as UTF-8 strings.<K, V> ConnectionFuture<StatefulRedisConnection<K,V>>RedisClient. connectAsync(RedisCodec<K,V> codec, RedisURI redisURI)protected voidAbstractRedisClient. 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 suppliedRedisURIthat 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 suppliedRedisURIthat treats keys and values as UTF-8 strings.<K, V> CompletableFuture<StatefulRedisSentinelConnection<K,V>>RedisClient. connectSentinelAsync(RedisCodec<K,V> codec, RedisURI redisURI)static RedisClientRedisClient. create(RedisURI redisURI)Create a new client that connects to the supplieduriwith defaultClientResources.static RedisClientRedisClient. create(ClientResources clientResources, RedisURI redisURI)Create a new client that connects to the supplieduriwith sharedClientResources.protected Mono<SocketAddress>RedisClient. getSocketAddress(RedisURI redisURI)SslConnectionBuilderSslConnectionBuilder. ssl(RedisURI redisURI)RedisURI.BuilderRedisURI.Builder. withAuthentication(RedisURI source)Apply authentication from anotherRedisURI.RedisURI.BuilderRedisURI.Builder. withSentinel(RedisURI redisURI)Add a withSentinel RedisURI to the existing builder.RedisURI.BuilderRedisURI.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 RedisURIRedisClusterClient. getFirstUri()Returns the firstRedisURIconfigured with thisRedisClusterClientinstance.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 seedRedisURIfor 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 RedisClusterClientRedisClusterClient. create(RedisURI redisURI)Create a new client that connects to the supplieduriwith defaultClientResources.static RedisClusterClientRedisClusterClient. create(ClientResources clientResources, RedisURI redisURI)Create a new client that connects to the supplieduriwith sharedClientResources.Method parameters in io.lettuce.core.cluster with type arguments of type RedisURI Modifier and Type Method Description static RedisClusterClientRedisClusterClient. create(ClientResources clientResources, Iterable<RedisURI> redisURIs)Create a new client that connects to the supplieduriwith sharedClientResources.static RedisClusterClientRedisClusterClient. create(Iterable<RedisURI> redisURIs)Create a new client that connects to the supplieduriwith defaultClientResources.protected PartitionsRedisClusterClient. determinePartitions(Partitions current, Map<RedisURI,Partitions> topologyViews)Determines atopology viewbased 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 RedisURIRedisClusterNode. 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 voidRedisClusterNode. addAlias(RedisURI alias)Add an alias toRedisClusterNode.voidRedisClusterNode. 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 RedisURIRedisNodeDescription. 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 SocketAddressMappingSocketAddressResolver. resolve(RedisURI redisURI)SocketAddressSocketAddressResolver. resolve(RedisURI redisURI)Resolve aRedisURIto aSocketAddress.static SocketAddressSocketAddressResolver. resolve(RedisURI redisURI, DnsResolver dnsResolver)Resolves aRedisURIto aSocketAddress.