| Modifier and Type | Method and Description |
|---|---|
default RedisConnection |
RedisConnection.batch(List<Request> commands,
io.vertx.core.Handler<io.vertx.core.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.
|
default RedisConnection |
RedisConnection.close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> onClose)
Closes the connection or returns to the pool.
|
RedisConnection |
RedisConnection.endHandler(io.vertx.core.Handler<Void> endHandler) |
RedisConnection |
RedisConnection.exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
RedisConnection |
RedisConnection.fetch(long amount) |
RedisConnection |
RedisConnection.handler(io.vertx.core.Handler<Response> handler) |
RedisConnection |
RedisConnection.pause() |
RedisConnection |
RedisConnection.resume() |
default RedisConnection |
RedisConnection.send(Request command,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Response>> onSend)
Send the given command to the redis server or cluster.
|
| Modifier and Type | Method and Description |
|---|---|
io.vertx.core.Future<RedisConnection> |
Redis.connect()
Connects to the redis server.
|
| Modifier and Type | Method and Description |
|---|---|
static RedisAPI |
RedisAPI.api(RedisConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
default Redis |
Redis.connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<RedisConnection>> handler)
Connects to the redis server.
|
Copyright © 2023 Eclipse. All rights reserved.