Package org.nuxeo.ecm.core.redis
Class RedisPoolDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.redis.RedisPoolDescriptor
-
- All Implemented Interfaces:
Descriptor
- Direct Known Subclasses:
RedisSentinelDescriptor,RedisServerDescriptor
public abstract class RedisPoolDescriptor extends Object implements Descriptor
-
-
Constructor Summary
Constructors Constructor Description RedisPoolDescriptor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetId()The descriptor id, descriptors with same id are merged.protected abstract RedisExecutornewExecutor()voidsetPassword(String value)-
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
-
-
-
-
Method Detail
-
getId
public final String getId()
Description copied from interface:DescriptorThe descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()for exemple.- Specified by:
getIdin interfaceDescriptor
-
setPassword
public void setPassword(String value)
-
newExecutor
protected abstract RedisExecutor newExecutor()
-
-