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-2017 ForgeRock AS. All Rights Reserved.