public abstract class BaseRedisClient extends Object implements Redis
| Modifier and Type | Field and Description |
|---|---|
protected io.vertx.redis.client.impl.RedisConnectionManager |
connectionManager |
protected VertxInternal |
vertx |
| Constructor and Description |
|---|
BaseRedisClient(Vertx vertx,
RedisOptions options) |
| Modifier and Type | Method and Description |
|---|---|
Future<List<Response>> |
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.
|
void |
close()
Closes the client and terminates any connection.
|
Future<Response> |
send(Request command)
Send the given command to the redis server or cluster.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatch, connect, connect, createClient, createClient, createClient, sendprotected final VertxInternal vertx
protected final io.vertx.redis.client.impl.RedisConnectionManager connectionManager
public BaseRedisClient(Vertx vertx, RedisOptions options)
public void close()
Redispublic Future<Response> send(Request command)
RedisCopyright © 2021. All rights reserved.