Package | Description |
---|---|
io.vertx.reactivex.ext.web.sstore.redis | |
io.vertx.reactivex.redis.client | |
io.vertx.reactivex.servicediscovery.types |
Modifier and Type | Method and Description |
---|---|
static RedisSessionStore |
RedisSessionStore.create(Vertx vertx,
long retryTimeoutMs,
Redis redis)
Creates a RedisSessionStore with the given retry TO.
|
static RedisSessionStore |
RedisSessionStore.create(Vertx vertx,
Redis redis)
Creates a RedisSessionStore with the default retry TO.
|
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Redis> |
Redis.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
Redis |
Redis.batch(List<Request> commands)
Sends a list of commands in a single IO operation, this prevents any inter twinning to happen from other
client users.
|
Redis |
Redis.batch(List<Request> commands,
Handler<AsyncResult<List<Response>>> onSend)
Sends a list of commands in a single IO operation, this prevents any inter twinning to happen from other
client users.
|
Redis |
Redis.connect()
Connects to the redis server.
|
Redis |
Redis.connect(Handler<AsyncResult<RedisConnection>> handler)
Connects to the redis server.
|
static Redis |
Redis.createClient(Vertx vertx)
Create a new redis client using the default client options.
|
static Redis |
Redis.createClient(Vertx vertx,
RedisOptions options)
Create a new redis client using the given client options.
|
static Redis |
Redis.createClient(Vertx vertx,
String connectionString)
Create a new redis client using the default client options.
|
static Redis |
Redis.newInstance(Redis arg) |
Redis |
Redis.send(Request command)
Send the given command to the redis server or cluster.
|
Redis |
Redis.send(Request command,
Handler<AsyncResult<Response>> onSend)
Send the given command to the redis server or cluster.
|
Modifier and Type | Method and Description |
---|---|
static RedisAPI |
RedisAPI.api(Redis client) |
Modifier and Type | Method and Description |
---|---|
static Single<Redis> |
RedisDataSource.rxGetRedisClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a Redis data source and provides the configured
Redis . |
static Single<Redis> |
RedisDataSource.rxGetRedisClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configured
Redis . |
static Single<Redis> |
RedisDataSource.rxGetRedisClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a Redis data source and provides the configured
Redis . |
static Single<Redis> |
RedisDataSource.rxGetRedisClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configured
Redis . |
Modifier and Type | Method and Description |
---|---|
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
Handler<AsyncResult<Redis>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
Redis . |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<Redis>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
Redis . |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<Redis>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
Redis . |
static void |
RedisDataSource.getRedisClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<Redis>> resultHandler)
Convenient method that looks for a Redis data source and provides the configured
Redis . |
Copyright © 2021 Eclipse. All rights reserved.