Package | Description |
---|---|
io.vertx.rxjava.redis.client |
Modifier and Type | Field and Description |
---|---|
static TypeArg<Redis> |
Redis.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
Redis |
Redis.batch(List<Request> commands,
Handler<AsyncResult<List<Response>>> handler) |
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,
SocketAddress 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,
Handler<AsyncResult<Response>> onSend) |
Modifier and Type | Method and Description |
---|---|
rx.Observable<Redis> |
Redis.connectObservable()
Deprecated.
use
rxConnect() instead |
rx.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.
|
Copyright © 2019 Eclipse. All rights reserved.