Interface SelectionStrategy

    • Method Detail

      • select

        Endpoint select​(CouchbaseRequest request,
                        List<Endpoint> endpoints)
        Selects an Endpoint for the given CouchbaseRequest. If null is returned, it means that no endpoint could be selected and it is up to the calling party to decide what to do next.
        Parameters:
        request - the input request.
        endpoints - all the available endpoints.
        Returns:
        the selected endpoint.