Interface LoadBalancer

    • Method Detail

      • connection

        String connection​(String exoId)
        Parameters:
        exoId - the id of client.
        Returns:
        URL of cometd node.
      • release

        boolean release​(String exoId)
        Release connection on the node there client connected.
        Parameters:
        exoId - client id.
        Returns:
        true if release successful
      • getAliveNodesURL

        List<String> getAliveNodesURL()
        Returns:
        URLs of all cometd nodes.
      • addNode

        void addNode​(Node node)
        Add new node for cometd connection.
        Parameters:
        node - the new node in cluster.
      • removeNode

        void removeNode​(String id)
        Remove cometd node.
        Parameters:
        id - the ID of cometd node.