| Package | Description |
|---|---|
| io.vertx.reactivex.redis.client | |
| io.vertx.reactivex.servicediscovery.types |
| 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<Redis>> handler)
Connects to the redis server.
|
static Redis |
Redis.createClient(Vertx vertx,
RedisOptions options)
Connect to redis, the
onConnect will get the Redis instance. |
static Redis |
Redis.createClient(Vertx vertx,
String address)
Connect to redis, the
onConnect will get the Redis instance. |
Redis |
Redis.endHandler(Handler<Void> endHandler)
Set an end handler.
|
Redis |
Redis.exceptionHandler(Handler<Throwable> handler)
Set an exception handler on the read stream.
|
Redis |
Redis.fetch(long amount)
Fetch the specified
amount of elements. |
Redis |
Redis.handler(Handler<Response> handler)
Set a data handler.
|
static Redis |
Redis.newInstance(Redis arg) |
Redis |
Redis.pause()
Pause the
ReadStream, it sets the buffer in fetch mode and clears the actual demand. |
Redis |
Redis.resume()
Resume reading, and sets the buffer in
flowing mode. |
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 |
|---|---|
Single<Redis> |
Redis.rxConnect()
Connects to the redis server.
|
| Modifier and Type | Method and Description |
|---|---|
static RedisAPI |
RedisAPI.api(Redis client) |
| Modifier and Type | Method and Description |
|---|---|
Redis |
Redis.connect(Handler<AsyncResult<Redis>> handler)
Connects to the redis server.
|
| 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 © 2019 Eclipse. All rights reserved.