public class TelemetryInMemorySubmitter extends Object implements TelemetrySynchronizer
| Constructor and Description |
|---|
TelemetryInMemorySubmitter(org.apache.hc.client5.http.impl.classic.CloseableHttpClient client,
URI telemetryRootEndpoint,
TelemetryStorageConsumer telemetryStorageConsumer,
SplitCacheConsumer splitCacheConsumer,
SegmentCacheConsumer segmentCacheConsumer,
TelemetryRuntimeProducer telemetryRuntimeProducer,
long initStartTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
finalSynchronization(long splitCount,
long segmentCount,
long segmentKeyCount) |
void |
synchronizeConfig(SplitClientConfig config,
long readyTimeStamp,
Map<String,Long> factoryInstances,
List<String> tags) |
void |
synchronizeStats() |
public TelemetryInMemorySubmitter(org.apache.hc.client5.http.impl.classic.CloseableHttpClient client,
URI telemetryRootEndpoint,
TelemetryStorageConsumer telemetryStorageConsumer,
SplitCacheConsumer splitCacheConsumer,
SegmentCacheConsumer segmentCacheConsumer,
TelemetryRuntimeProducer telemetryRuntimeProducer,
long initStartTime)
throws URISyntaxException
URISyntaxExceptionpublic void synchronizeConfig(SplitClientConfig config, long readyTimeStamp, Map<String,Long> factoryInstances, List<String> tags)
synchronizeConfig in interface TelemetrySynchronizerpublic void synchronizeStats()
throws Exception
synchronizeStats in interface TelemetrySynchronizerExceptionpublic void finalSynchronization(long splitCount,
long segmentCount,
long segmentKeyCount)
throws Exception
finalSynchronization in interface TelemetrySynchronizerExceptionCopyright © 2021. All rights reserved.