Package org.nuxeo.ecm.core.redis
Class RedisSentinelDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.redis.RedisPoolDescriptor
-
- org.nuxeo.ecm.core.redis.RedisSentinelDescriptor
-
- All Implemented Interfaces:
Descriptor
public class RedisSentinelDescriptor extends RedisPoolDescriptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RedisSentinelDescriptor.RedisHostDescriptor
-
Field Summary
Fields Modifier and Type Field Description int
failoverTimeout
RedisSentinelDescriptor.RedisHostDescriptor[]
hosts
String
master
-
Fields inherited from class org.nuxeo.ecm.core.redis.RedisPoolDescriptor
database, disabled, maxIdle, maxTotal, password, prefix, timeout
-
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
-
Constructor Summary
Constructors Constructor Description RedisSentinelDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RedisExecutor
newExecutor()
-
Methods inherited from class org.nuxeo.ecm.core.redis.RedisPoolDescriptor
getId, setPassword
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove, merge
-
-
-
-
Field Detail
-
hosts
public RedisSentinelDescriptor.RedisHostDescriptor[] hosts
-
master
public String master
-
failoverTimeout
public int failoverTimeout
-
-
Method Detail
-
newExecutor
public RedisExecutor newExecutor() throws RuntimeException
- Specified by:
newExecutor
in classRedisPoolDescriptor
- Throws:
RuntimeException
-
-