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 Dn getBaseDN()
public int getServerId()
public int compareTo(ReplicaId o)
compareTo
in interface Comparable<ReplicaId>
Copyright 2010-2018 ForgeRock AS.