Class Partition.Server

  • Enclosing class:
    Partition

    public static class Partition.Server
    extends Object
    A server from a partition.
    • Method Detail

      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • 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.