Package org.opends.server.discovery
Class Partition.Server
- java.lang.Object
-
- org.opends.server.discovery.Partition.Server
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
GroupId
getGroupId()
Returns the group id for this server.Collection<com.forgerock.opendj.util.HostPort>
getHostPorts()
Returns the host ports for this server.com.forgerock.opendj.util.HostPort
getHostPortToUse()
Returns the host port that is used to contact with this server.Options
getOptions()
Return the connections options for this server.int
hashCode()
void
setGroupId(GroupId groupId)
Sets the group id for this server.void
setHostPortToUse(com.forgerock.opendj.util.HostPort hostPortToUse)
Sets the host port that is used to contact with this server.String
toString()
-
-
-
Method Detail
-
getHostPorts
public final Collection<com.forgerock.opendj.util.HostPort> getHostPorts()
Returns the host ports for this server.- Returns:
- the host ports for this server
-
getHostPortToUse
public com.forgerock.opendj.util.HostPort getHostPortToUse()
Returns the host port that is used to contact with this server.- Returns:
- the host port that is used to contact with this server.
-
setHostPortToUse
public void setHostPortToUse(com.forgerock.opendj.util.HostPort hostPortToUse)
Sets the host port that is used to contact with this server.- Parameters:
hostPortToUse
- the host port that is used to contact with this server
-
getGroupId
public GroupId getGroupId()
Returns the group id for this server.- Returns:
- the group id for this server
-
setGroupId
public void setGroupId(GroupId groupId)
Sets the group id for this server.- Parameters:
groupId
- the group id for this server
-
getOptions
public final Options getOptions()
Return the connections options for this server.- Returns:
- the connections options for this server.
-
-