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