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-2017 ForgeRock AS. All Rights Reserved.