public final class ReplicaId extends Object implements Comparable<ReplicaId>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ReplicaId o) |
boolean |
equals(Object obj) |
org.forgerock.opendj.ldap.DN |
getBaseDN()
Returns the baseDN.
|
int |
getServerId()
Returns the serverId.
|
int |
hashCode() |
static ReplicaId |
of(org.forgerock.opendj.ldap.DN baseDN,
int serverId)
Creates a ReplicaId with the provided parameters.
|
String |
toString() |
public static ReplicaId of(org.forgerock.opendj.ldap.DN baseDN, int serverId)
baseDN - domain baseDNserverId - serverId within the domainpublic org.forgerock.opendj.ldap.DN getBaseDN()
public int getServerId()
public int compareTo(ReplicaId o)
compareTo in interface Comparable<ReplicaId>Copyright © 2010-2018 ForgeRock AS. All Rights Reserved.