public final class SuffixDescriptor extends Object implements Comparable<SuffixDescriptor>
Constructor and Description |
---|
SuffixDescriptor(Dn suffixDn)
Builds a new SuffixDescriptor.
|
Modifier and Type | Method and Description |
---|---|
SuffixDescriptor |
addReplica(ReplicaDescriptor replica)
Associates the provided replica with this SuffixDescriptor.
|
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() |
String |
toString() |
public SuffixDescriptor(Dn suffixDn)
suffixDn
- the suffix DNpublic Dn getDN()
public Set<ReplicaDescriptor> getReplicas()
public SuffixDescriptor addReplica(ReplicaDescriptor replica)
replica
- the replicate to associate with this SuffixDescriptor.public Set<HostPort> getReplicationServers()
public String getId()
public int compareTo(SuffixDescriptor o)
compareTo
in interface Comparable<SuffixDescriptor>
Copyright 2010-2018 ForgeRock AS.