Class TelemetryClient
java.lang.Object
com.databricks.jdbc.telemetry.TelemetryClient
- All Implemented Interfaces:
ITelemetryClient
-
Constructor Summary
ConstructorsConstructorDescriptionTelemetryClient(IDatabricksConnectionContext connectionContext, ExecutorService executorService) TelemetryClient(IDatabricksConnectionContext connectionContext, ExecutorService executorService, com.databricks.sdk.core.DatabricksConfig config) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the telemetry client, releasing any resources it holds.voidexportEvent(TelemetryFrontendLog event) Exports a telemetry event to the backend service.
-
Constructor Details
-
TelemetryClient
public TelemetryClient(IDatabricksConnectionContext connectionContext, ExecutorService executorService, com.databricks.sdk.core.DatabricksConfig config) -
TelemetryClient
public TelemetryClient(IDatabricksConnectionContext connectionContext, ExecutorService executorService)
-
-
Method Details
-
exportEvent
Description copied from interface:ITelemetryClientExports a telemetry event to the backend service.- Specified by:
exportEventin interfaceITelemetryClient- Parameters:
event- The telemetry event to be exported.
-
close
public void close()Description copied from interface:ITelemetryClientCloses the telemetry client, releasing any resources it holds. This method should be called on closure of connection or JVM shutdown.- Specified by:
closein interfaceITelemetryClient
-