Top Description Fields Constructors Methods
com.mysql.cj.telemetry

public Class NoopTelemetrySpan

extends Object
implements TelemetrySpan
Class Inheritance
All Implemented Interfaces
com.mysql.cj.telemetry.TelemetrySpan, java.lang.AutoCloseable

No-op implementation of TelemetrySpan.

Field Summary

Modifier and TypeField and Description
private static NoopTelemetrySpan

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static NoopTelemetrySpan
public TelemetryScope
makeCurrent()

Implements com.mysql.cj.telemetry.TelemetrySpan.makeCurrent.

Takes this telemetry span and makes it current in the global telemetry context.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
private static NoopTelemetrySpan INSTANCE

Constructor Detail

NoopTelemetrySpanback to summary
private NoopTelemetrySpan()

Method Detail

getInstanceback to summary
public static NoopTelemetrySpan getInstance()
makeCurrentback to summary
public TelemetryScope makeCurrent()

Implements com.mysql.cj.telemetry.TelemetrySpan.makeCurrent.

Doc from com.mysql.cj.telemetry.TelemetrySpan.makeCurrent.

Takes this telemetry span and makes it current in the global telemetry context.

Returns:TelemetryScope

an AutoCloseable telemetry scope that represents the current telemetry context.

Annotations
@Override