| Constructor and Description |
|---|
NoOpTelemetryClient() |
| 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(String queryId,
String sqlState,
int vendorCode,
Throwable ex)
A hook for post-processing after sending telemetry data.
|
Future<Boolean> |
sendBatchAsync()
Send all cached logs to server
|
public void addLogToBatch(TelemetryData log)
TelemetryaddLogToBatch in interface Telemetrylog - entry to addpublic void close()
Telemetrypublic Future<Boolean> sendBatchAsync()
TelemetrysendBatchAsync in interface Telemetrypublic void postProcess(String queryId, String sqlState, int vendorCode, Throwable ex)
TelemetrypostProcess in interface TelemetryqueryId - The query idsqlState - The SQL state as defined in net.snowflake.common.core.SqlStatevendorCode - The vendor code for localized messagesex - The throwable that caused this.Copyright © 2022. All rights reserved.