| Package | Description |
|---|---|
| org.apache.druid.rpc | |
| org.apache.druid.rpc.indexing |
| Modifier and Type | Class and Description |
|---|---|
class |
StandardRetryPolicy
Retry policy configurable with a maximum number of attempts and min/max wait time.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceClient |
ServiceClientFactory.makeClient(String serviceName,
ServiceLocator serviceLocator,
ServiceRetryPolicy retryPolicy)
Creates a client for a particular service.
|
ServiceClient |
ServiceClientFactoryImpl.makeClient(String serviceName,
ServiceLocator serviceLocator,
ServiceRetryPolicy retryPolicy) |
ServiceClient |
ServiceClient.withRetryPolicy(ServiceRetryPolicy retryPolicy)
Returns a copy of this client with a different
ServiceRetryPolicy. |
ServiceClientImpl |
ServiceClientImpl.withRetryPolicy(ServiceRetryPolicy newRetryPolicy) |
| Constructor and Description |
|---|
ServiceClientImpl(String serviceName,
HttpClient httpClient,
ServiceLocator serviceLocator,
ServiceRetryPolicy retryPolicy,
ScheduledExecutorService connectExec) |
| Modifier and Type | Class and Description |
|---|---|
class |
SpecificTaskRetryPolicy
Retry policy for tasks.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceClient |
TaskServiceClients.makeClient(String taskId,
ServiceRetryPolicy baseRetryPolicy,
ServiceClientFactory serviceClientFactory,
OverlordClient overlordClient)
Makes a
ServiceClient linked to the provided task. |
OverlordClientImpl |
OverlordClientImpl.withRetryPolicy(ServiceRetryPolicy retryPolicy) |
OverlordClient |
OverlordClient.withRetryPolicy(ServiceRetryPolicy retryPolicy) |
| Constructor and Description |
|---|
SpecificTaskRetryPolicy(String taskId,
ServiceRetryPolicy baseRetryPolicy) |
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.