Package org.nuxeo.ecm.core.redis
Class RedisSentinelDescriptor.RedisHostDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.redis.RedisSentinelDescriptor.RedisHostDescriptor
-
- All Implemented Interfaces:
Descriptor
- Enclosing class:
- RedisSentinelDescriptor
public static class RedisSentinelDescriptor.RedisHostDescriptor extends Object implements Descriptor
-
-
Field Summary
Fields Modifier and Type Field Description Stringnameintport-
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
-
Constructor Summary
Constructors Modifier Constructor Description RedisHostDescriptor()Empty constructor.protectedRedisHostDescriptor(String name, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()The descriptor id, descriptors with same id are merged.-
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
-
name
public String name
-
port
public int port
-
-
Constructor Detail
-
RedisHostDescriptor
public RedisHostDescriptor()
Empty constructor.
-
RedisHostDescriptor
protected RedisHostDescriptor(String name, int port)
-
-
Method Detail
-
getId
public 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
-
-