Package | Description |
---|---|
io.vertx.reactivex.redis.client | |
io.vertx.redis.client | |
io.vertx.rxjava.redis.client | |
io.vertx.rxjava3.redis.client |
Modifier and Type | Method and Description |
---|---|
static Redis |
Redis.createClient(Vertx vertx,
RedisOptions options)
Create a new redis client using the given client options.
|
Modifier and Type | Method and Description |
---|---|
RedisOptions |
RedisOptions.addConnectionString(String connectionString)
Adds a connection string (endpoint) to use while connecting to the redis server.
|
RedisOptions |
RedisOptions.addEndpoint(String connectionString)
Deprecated.
see
setConnectionString(String connectionString) for a better naming |
RedisOptions |
RedisOptions.setAutoFailover(boolean autoFailover)
Returns whether automatic failover is enabled.
|
RedisOptions |
RedisOptions.setConnectionString(String connectionString)
Sets a single connection string (endpoint) to use while connecting to the redis server.
|
RedisOptions |
RedisOptions.setEndpoint(String connectionString)
Deprecated.
see
setConnectionString(String connectionString) for a better naming |
RedisOptions |
RedisOptions.setEndpoints(List<String> endpoints)
Set the endpoints to use while connecting to the redis server.
|
RedisOptions |
RedisOptions.setHashSlotCacheTTL(long hashSlotCacheTTL)
Sets the TTL of the hash slot cache.
|
RedisOptions |
RedisOptions.setMasterName(String masterName)
Set the name of the master set.
|
RedisOptions |
RedisOptions.setMaxNestedArrays(int maxNestedArrays)
Tune how much nested arrays are allowed on a redis response.
|
RedisOptions |
RedisOptions.setMaxPoolSize(int maxPoolSize)
Set the maximum size of the connection pool.
|
RedisOptions |
RedisOptions.setMaxPoolWaiting(int maxPoolWaiting)
Set the maximum number of requests waiting for a connection from the pool.
|
RedisOptions |
RedisOptions.setMaxWaitingHandlers(int maxWaitingHandlers)
The client will always work on pipeline mode, this means that messages can start queueing.
|
RedisOptions |
RedisOptions.setMetricsName(String metricsName)
Set the metrics name identifying the reported metrics, useful for grouping metrics
with the same name.
|
RedisOptions |
RedisOptions.setNetClientOptions(NetClientOptions netClientOptions)
Set the net client options to be used while connecting to the redis server.
|
RedisOptions |
RedisOptions.setPassword(String password)
Set the default password for cluster/sentinel connections.
|
RedisOptions |
RedisOptions.setPoolCleanerInterval(int poolCleanerInterval)
Set how often the connection pool will be cleaned.
|
RedisOptions |
RedisOptions.setPoolName(String poolName)
Set the connection pool name to be used for metrics reporting.
|
RedisOptions |
RedisOptions.setPoolRecycleTimeout(int poolRecycleTimeout)
Set how long a connection can stay unused before it is recycled during connection pool
cleaning.
|
RedisOptions |
RedisOptions.setPreferredProtocolVersion(ProtocolVersion preferredProtocolVersion)
Sets the preferred protocol version to be used during protocol negotiation.
|
RedisOptions |
RedisOptions.setProtocolNegotiation(boolean protocolNegotiation)
Should the client perform
REST protocol negotiation during the connection acquire. |
RedisOptions |
RedisOptions.setRole(RedisRole role)
Set the client role; that is, to which kind of node should the connection be established.
|
RedisOptions |
RedisOptions.setTopology(RedisTopology topology)
Set how the topology should be obtained.
|
RedisOptions |
RedisOptions.setTracingPolicy(TracingPolicy tracingPolicy)
Set the tracing policy for the client behavior when Vert.x has tracing enabled.
|
RedisOptions |
RedisOptions.setType(RedisClientType type)
Set the desired client type to be created.
|
RedisOptions |
RedisOptions.setUseReplicas(RedisReplicas useReplicas)
Set whether to use replica nodes for read only queries.
|
Modifier and Type | Method and Description |
---|---|
static Redis |
Redis.createClient(Vertx vertx,
RedisOptions options)
Create a new redis client using the given client options.
|
Constructor and Description |
---|
RedisClusterConnectOptions(RedisOptions options) |
RedisConnectOptions(RedisOptions options) |
RedisOptions(RedisOptions other)
Copy constructor.
|
RedisReplicationConnectOptions(RedisOptions options) |
RedisSentinelConnectOptions(RedisOptions options) |
RedisStandaloneConnectOptions(RedisOptions options) |
Modifier and Type | Method and Description |
---|---|
static Redis |
Redis.createClient(Vertx vertx,
RedisOptions options)
Create a new redis client using the given client options.
|
Modifier and Type | Method and Description |
---|---|
static Redis |
Redis.createClient(Vertx vertx,
RedisOptions options)
Create a new redis client using the given client options.
|
Copyright © 2024 Eclipse. All rights reserved.