Top Fields Constructors Methods
com.mysql.cj.otel

public Class OpenTelemetryScope

extends Object
implements TelemetryScope
Class Inheritance
All Implemented Interfaces
com.mysql.cj.telemetry.TelemetryScope, java.lang.AutoCloseable
Imports
com.mysql.cj.telemetry.TelemetryScope, io.opentelemetry.context.Scope

Field Summary

Modifier and TypeField and Description
private Scope

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
close()

Overrides default com.mysql.cj.telemetry.TelemetryScope.close.

AutoCloseable#close() that must be used to end this context scope and, thus, make it possible to create new span within try-with-resources blocks.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

scopeback to summary
private Scope scope

Constructor Detail

OpenTelemetryScopeback to summary
public OpenTelemetryScope(Scope scope)

Method Detail

closeback to summary
public void close()

Overrides default com.mysql.cj.telemetry.TelemetryScope.close.

Doc from com.mysql.cj.telemetry.TelemetryScope.close.

AutoCloseable#close() that must be used to end this context scope and, thus, make it possible to create new span within try-with-resources blocks.

Annotations
@Override