public class SuffixDescriptor extends Object implements Comparable<SuffixDescriptor>
| Constructor and Description |
|---|
SuffixDescriptor(org.forgerock.opendj.ldap.DN suffixDn,
ReplicaDescriptor replica)
Builds a new SuffixDescriptor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SuffixDescriptor o) |
org.forgerock.opendj.ldap.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(org.forgerock.opendj.ldap.DN suffixDN)
Sets the DN associated with this suffix descriptor.
|
String |
toString() |
public SuffixDescriptor(org.forgerock.opendj.ldap.DN suffixDn,
ReplicaDescriptor replica)
suffixDn - the suffix DNreplica - the replicapublic org.forgerock.opendj.ldap.DN getDN()
public void setDN(org.forgerock.opendj.ldap.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 Wren Security. All Rights Reserved.