public static class RedisSentinelDescriptor.RedisHostDescriptor extends Object implements Descriptor
| Modifier and Type | Field and Description |
|---|---|
String |
name |
int |
port |
UNIQUE_DESCRIPTOR_ID| Modifier | Constructor and Description |
|---|---|
|
RedisHostDescriptor()
Empty constructor.
|
protected |
RedisHostDescriptor(String name,
int port) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
The descriptor id, descriptors with same id are merged.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoesRemove, mergepublic RedisHostDescriptor()
protected RedisHostDescriptor(String name, int port)
public String getId()
DescriptorTo forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden toString() for exemple.
getId in interface DescriptorCopyright © 2019 Nuxeo. All rights reserved.