Package org.nuxeo.ecm.core.redis
Class RedisServerDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.redis.RedisPoolDescriptor
-
- org.nuxeo.ecm.core.redis.RedisServerDescriptor
-
- All Implemented Interfaces:
Descriptor
public class RedisServerDescriptor extends RedisPoolDescriptor
Descriptor for a Redis configuration.- Since:
- 5.8
-
-
Field Summary
Fields Modifier and Type Field Description int
failoverTimeout
String
host
String
keyStorePassword
String
keyStorePath
String
keyStoreType
int
port
boolean
ssl
String
trustStorePassword
String
trustStorePath
String
trustStoreType
-
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 RedisServerDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SSLContext
getSSLContext()
protected KeyStore
loadKeyStore(String path, String password, String type)
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
-
host
public String host
-
port
public int port
-
ssl
public boolean ssl
- Since:
- 10.3
-
trustStorePath
public String trustStorePath
- Since:
- 10.3
-
trustStorePassword
public String trustStorePassword
- Since:
- 10.3
-
trustStoreType
public String trustStoreType
- Since:
- 10.3
-
keyStorePath
public String keyStorePath
- Since:
- 10.3
-
keyStorePassword
public String keyStorePassword
- Since:
- 10.3
-
keyStoreType
public String keyStoreType
- Since:
- 10.3
-
failoverTimeout
public int failoverTimeout
-
-
Method Detail
-
newExecutor
public RedisExecutor newExecutor()
- Specified by:
newExecutor
in classRedisPoolDescriptor
-
getSSLContext
protected SSLContext getSSLContext()
-
loadKeyStore
protected KeyStore loadKeyStore(String path, String password, String type) throws GeneralSecurityException, IOException
- Throws:
GeneralSecurityException
IOException
-
-