Package org.forgerock.opendj.discovery
Class Partition.Server
java.lang.Object
org.forgerock.opendj.discovery.Partition.Server
- Enclosing class:
- Partition
A server from a partition.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Collection<com.forgerock.opendj.util.HostPort>
Returns the host ports for this server.com.forgerock.opendj.util.HostPort
Returns the host port that should be used to contact this server.Return the connections options for this server.int
hashCode()
toString()
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getLdapEndpoints
Returns the host ports for this server.- Returns:
- the host ports for this server
-
getLdapEndpointToUse
public com.forgerock.opendj.util.HostPort getLdapEndpointToUse()Returns the host port that should be used to contact this server.- Returns:
- the host port that should be used to contact this server.
-
getOptions
Return the connections options for this server.- Returns:
- the connections options for this server.
-
toString
-