public interface Telemetry
| Modifier and Type | Method and Description |
|---|---|
void |
addLogToBatch(TelemetryData log)
Attempt to add log to batch, and suppress exceptions thrown in case of failure
|
void |
close()
Close telemetry connector and send any unsubmitted logs
|
void |
postProcess(ExecutorService threadExecutor,
String queryId,
String sqlState,
int vendorCode,
Throwable ex) |
Future<Boolean> |
sendBatchAsync()
Send all cached logs to server
|
void addLogToBatch(TelemetryData log)
log - entry to addvoid close()
Future<Boolean> sendBatchAsync()
void postProcess(ExecutorService threadExecutor, String queryId, String sqlState, int vendorCode, Throwable ex)
Copyright © 2021. All rights reserved.