Interface Endpoint


  • @Unstable
    public interface Endpoint
    • Method Detail

      • servers

        List<ServerEndpoint> servers()
        The servers capable of serving requests for this endpoint.
      • selectServer

        default ServerEndpoint selectServer()
        Select a server.
        Returns:
        the selected server
      • selectServer

        ServerEndpoint selectServer​(String key)
        Select a node, using a routing key
        Parameters:
        key - the routing key
        Returns:
        the selected server