public class RedisSentinelDescriptor extends RedisPoolDescriptor
Modifier and Type | Field and Description |
---|---|
int |
failoverTimeout |
RedisHostDescriptor[] |
hosts |
String |
master |
Constructor and Description |
---|
RedisSentinelDescriptor() |
Modifier and Type | Method and Description |
---|---|
RedisExecutor |
newExecutor() |
protected Set<String> |
toSentinels(RedisHostDescriptor[] hosts) |
setPassword
public RedisHostDescriptor[] hosts
public int failoverTimeout
public RedisSentinelDescriptor()
public RedisExecutor newExecutor() throws RuntimeException
newExecutor
in class RedisPoolDescriptor
RuntimeException
protected Set<String> toSentinels(RedisHostDescriptor[] hosts)
Copyright © 2015 Nuxeo SA. All rights reserved.