Interface FailoverRequestBalancingStrategy

    • Method Detail

      • setServers

        void setServers​(Collection<SocketAddress> servers)
        Inform the strategy about the currently alive servers.
        Parameters:
        servers -
      • nextServer

        SocketAddress nextServer​(Set<SocketAddress> failedServers)
        Parameters:
        failedServers -
        Returns:
        Address of the next server the request should be routed to.