public class RedisServerDescriptor extends RedisPoolDescriptor
Modifier and Type | Field and Description |
---|---|
int |
failoverTimeout |
String |
host |
int |
port |
Constructor and Description |
---|
RedisServerDescriptor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canConnect(String name,
int port) |
protected boolean |
canPing(redis.clients.jedis.Jedis jedis) |
RedisExecutor |
newExecutor() |
setPassword
public int port
public int failoverTimeout
public RedisServerDescriptor()
protected boolean canConnect(String name, int port)
protected boolean canPing(redis.clients.jedis.Jedis jedis)
public RedisExecutor newExecutor()
newExecutor
in class RedisPoolDescriptor
Copyright © 2018 Nuxeo. All rights reserved.