Package | Description |
---|---|
io.vertx.reactivex.redis | |
io.vertx.redis | |
io.vertx.redis.sentinel | |
io.vertx.rxjava.redis |
Modifier and Type | Method and Description |
---|---|
static RedisClient |
RedisClient.create(Vertx vertx,
RedisOptions config) |
Modifier and Type | Method and Description |
---|---|
RedisOptions |
RedisOptions.addSentinel(String sentinelHostAndPort)
Add Sentinel node.
|
RedisOptions |
RedisOptions.setAddress(String address)
Set the eventbus address prefix for `PUB/SUB`.
|
RedisOptions |
RedisOptions.setAuth(String auth)
Set the password for authentication at connection time.
|
RedisOptions |
RedisOptions.setBinary(boolean binary)
Set the user defined character encoding, e.g.: `iso-8859-1`.
|
RedisOptions |
RedisOptions.setEncoding(String encoding)
Set the user defined character encoding, e.g.: `iso-8859-1`.
|
RedisOptions |
RedisOptions.setHost(String host)
Set the host name where the Redis server is listening.
|
RedisOptions |
RedisOptions.setMasterName(String masterName)
Set name of Redis master (used with Sentinel).
|
RedisOptions |
RedisOptions.setPort(int port)
Set the tcp port where the Redis server is listening.
|
RedisOptions |
RedisOptions.setSelect(Integer select)
Set the database to select at connection time.
|
RedisOptions |
RedisOptions.setSentinels(List<String> sentinels)
Set the list of Sentinels.
|
Modifier and Type | Method and Description |
---|---|
static RedisClient |
RedisClient.create(Vertx vertx,
RedisOptions config) |
static void |
RedisOptionsConverter.fromJson(JsonObject json,
RedisOptions obj) |
static void |
RedisOptionsConverter.toJson(RedisOptions obj,
JsonObject json) |
Constructor and Description |
---|
RedisOptions(RedisOptions other) |
Modifier and Type | Method and Description |
---|---|
static RedisSentinel |
RedisSentinel.create(Vertx vertx,
RedisOptions config) |
Modifier and Type | Method and Description |
---|---|
static RedisClient |
RedisClient.create(Vertx vertx,
RedisOptions config) |
Copyright © 2017. All rights reserved.