| Package | Description |
|---|---|
| org.apache.druid.client | |
| org.apache.druid.server.coordination |
| Modifier and Type | Field and Description |
|---|---|
static com.fasterxml.jackson.core.type.TypeReference<ChangeRequestsSnapshot<DataSegmentChangeRequest>> |
HttpServerInventoryView.SEGMENT_LIST_RESP_TYPE_REF |
| Modifier and Type | Method and Description |
|---|---|
static <T> ChangeRequestsSnapshot<T> |
ChangeRequestsSnapshot.fail(String resetCause) |
static <T> ChangeRequestsSnapshot<T> |
ChangeRequestsSnapshot.success(ChangeRequestHistory.Counter counter,
List<T> requests) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<ChangeRequestsSnapshot<T>> |
ChangeRequestHistory.getRequestsSince(ChangeRequestHistory.Counter counter)
Returns a Future that, on completion, returns list of segment updates and associated counter.
|
com.google.common.util.concurrent.ListenableFuture<ChangeRequestsSnapshot<DataSegmentChangeRequest>> |
BatchDataSegmentAnnouncer.getSegmentChangesSince(ChangeRequestHistory.Counter counter)
Returns Future that lists the segment load/drop requests since given counter.
|
| Constructor and Description |
|---|
ChangeRequestHttpSyncer(com.fasterxml.jackson.databind.ObjectMapper smileMapper,
HttpClient httpClient,
ScheduledExecutorService executor,
URL baseServerURL,
String baseRequestPath,
com.fasterxml.jackson.core.type.TypeReference<ChangeRequestsSnapshot<T>> responseTypeReferences,
long serverTimeoutMS,
long serverUnstabilityTimeout,
ChangeRequestHttpSyncer.Listener<T> listener) |
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.