| | |
| | | import java.util.TreeSet; |
| | | |
| | | import org.forgerock.opendj.ldap.DN; |
| | | import org.opends.server.types.HostPort; |
| | | |
| | | /** |
| | | * The object of this class represent a topology of replicas across servers that |
| | |
| | | * |
| | | * @return the Set of Replication servers for the whole suffix topology. |
| | | */ |
| | | public Set<String> getReplicationServers() |
| | | public Set<HostPort> getReplicationServers() |
| | | { |
| | | Set<String> replicationServers = new HashSet<>(); |
| | | Set<HostPort> replicationServers = new HashSet<>(); |
| | | for (ReplicaDescriptor replica : getReplicas()) |
| | | { |
| | | replicationServers.addAll(replica.getReplicationServers()); |