Interface WebClusterNodeInfo


  • public interface WebClusterNodeInfo
    This interface represents the information for a single node within a cluster. This can be used for getting the node and project information (for ex.) per cluster node by iterating through the clusters
    • Method Detail

      • getPort

        int getPort()
        Returns:
        a server node port
      • getNodeName

        java.lang.String getNodeName()
        Returns:
        a server node name
      • getProject

        WebProjectInfo getProject​(int i)
        Get the project at given index from a collection of projects. Returns null if not found
        Parameters:
        i - Index of a project from collection
        Returns:
      • getProject

        WebProjectInfo getProject​(java.lang.String id)
        Get the project represented by DSS ID. Returns null if not found
        Parameters:
        id -
        Returns:
      • getProjectCount

        int getProjectCount()
        Retuns a number of projects in any status as specified in EnumDSSXMLProjectStatus ) from a collection
        Returns:
      • isAlive

        boolean isAlive()
        Returns boolean specifying if the node is alive or not, as represented by EnumDSSXMLClusterMemberStatus with value DssXmlClusterMemberStatusExecuting.
        Returns:
      • getNodeHostName

        java.lang.String getNodeHostName()
        Returns a node name
        Returns:
      • getNodeAddress

        java.lang.String getNodeAddress()
        Returns a node Address
        Returns: