public final class SuffixDescriptor extends Object implements Comparable<SuffixDescriptor>
Constructor and Description |
---|
SuffixDescriptor(Dn suffixDn,
ReplicaDescriptor replica)
Builds a new SuffixDescriptor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SuffixDescriptor o) |
boolean |
equals(Object obj) |
Dn |
getDN()
Returns the DN associated with this suffix descriptor.
|
String |
getId()
Returns an Id that is unique for this suffix.
|
Set<ReplicaDescriptor> |
getReplicas()
Returns the replicas associated with this SuffixDescriptor.
|
Set<HostPort> |
getReplicationServers()
Returns the Set of Replication servers for the whole suffix topology.
|
int |
hashCode() |
void |
setDN(Dn suffixDN)
Sets the DN associated with this suffix descriptor.
|
String |
toString() |
public SuffixDescriptor(Dn suffixDn, ReplicaDescriptor replica)
suffixDn
- the suffix DNreplica
- the replicapublic Dn getDN()
public void setDN(Dn suffixDN)
suffixDN
- the DN associated with this suffix descriptor.public Set<ReplicaDescriptor> getReplicas()
public Set<HostPort> getReplicationServers()
public String getId()
public int compareTo(SuffixDescriptor o)
compareTo
in interface Comparable<SuffixDescriptor>
Copyright 2010-2020 ForgeRock AS.