Package | Description |
---|---|
io.vertx.redis |
= Vert.x-redis
:toc: left
Vert.x-redis is redis client to be used with Vert.x.
|
io.vertx.redis.sentinel |
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 messages to/from redis as binary, default `false`.
|
RedisOptions |
RedisOptions.setDomainSocket(boolean domainSocket)
Set the domain socket enabled option, default `false`.
|
RedisOptions |
RedisOptions.setDomainSocketAddress(String domainSocketAddress)
Set the domain socket address where the Redis server is listening.
|
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(io.vertx.core.Vertx vertx,
RedisOptions config) |
static void |
RedisOptionsConverter.fromJson(io.vertx.core.json.JsonObject json,
RedisOptions obj) |
static void |
RedisOptionsConverter.toJson(RedisOptions obj,
io.vertx.core.json.JsonObject json) |
Constructor and Description |
---|
RedisOptions(RedisOptions other) |
Modifier and Type | Method and Description |
---|---|
static RedisSentinel |
RedisSentinel.create(io.vertx.core.Vertx vertx,
RedisOptions config) |
Copyright © 2018 Eclipse. All rights reserved.