| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Redis> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the client and terminates any connection.
|
Redis |
connect()
Connects to the redis server.
|
Redis |
connect(Handler<AsyncResult<RedisConnection>> handler)
Connects to the redis server.
|
static Redis |
createClient(Vertx vertx)
Create a new redis client using the default client options.
|
static Redis |
createClient(Vertx vertx,
RedisOptions options)
Create a new redis client using the given client options.
|
static Redis |
createClient(Vertx vertx,
String endpoint)
Create a new redis client using the default client options.
|
boolean |
equals(Object o) |
Redis |
getDelegate() |
int |
hashCode() |
static Redis |
newInstance(Redis arg) |
Single<RedisConnection> |
rxConnect()
Connects to the redis server.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<Redis> __TYPE_ARG
public Redis(Redis delegate)
public Redis getDelegate()
public static Redis createClient(Vertx vertx)
vertx - the vertx instancepublic static Redis createClient(Vertx vertx, String endpoint)
vertx - the vertx instanceendpoint - the server address to connect topublic static Redis createClient(Vertx vertx, RedisOptions options)
vertx - the vertx instanceoptions - the user provided optionspublic Redis connect(Handler<AsyncResult<RedisConnection>> handler)
handler - the async result handlerpublic Redis connect()
public Single<RedisConnection> rxConnect()
public void close()
Copyright © 2019 Eclipse. All rights reserved.