Package org.apache.druid.rpc
package org.apache.druid.rpc
-
ClassDescriptionA
ServiceLocatorthat usesDruidNodeDiscovery.Locator for a fixed set ofServiceLocations.Returned byServiceClient.asyncRequest(org.apache.druid.rpc.RequestBuilder, org.apache.druid.java.util.http.client.response.HttpResponseHandler<IntermediateType, FinalType>)when a request has failed due to an HTTP response.An HTTP response handler that discards the response and returns nothing.Mid-level client that provides an API similar to low-levelHttpClient, but acceptsRequestBuilderinstead ofRequest, and internally handles service location and retries.Factory for creatingServiceClient.Production implementation ofServiceClientFactory.Production implementation ofServiceClient.Returned byServiceClient.asyncRequest(org.apache.druid.rpc.RequestBuilder, org.apache.druid.java.util.http.client.response.HttpResponseHandler<IntermediateType, FinalType>)when a request has failed because the service is closed.Represents a service location at a particular point in time.Returned byServiceLocator.locate().Used byServiceClientto locate services.Returned byServiceClient.asyncRequest(org.apache.druid.rpc.RequestBuilder, org.apache.druid.java.util.http.client.response.HttpResponseHandler<IntermediateType, FinalType>)when a request has failed because the service is not available.Used byServiceClientto decide whether to retry requests.Retry policy configurable with a maximum number of attempts and min/max wait time.Simple response of an update API call containing the success status of the update operation.