Class AnalyticsLocator

    • Constructor Detail

      • AnalyticsLocator

        public AnalyticsLocator()
    • Method Detail

      • checkServiceNotAvailable

        protected boolean checkServiceNotAvailable​(Request<? extends Response> request,
                                                   ClusterConfig config)
        Description copied from class: RoundRobinLocator
        Can be overridden to check if a request should be cancelled immediately that the service is not supported.

        If this method returns false, something MUST be done with the request or it will time out!

        Overrides:
        checkServiceNotAvailable in class RoundRobinLocator