Uses of Interface
io.opentelemetry.api.incubator.trace.SpanRunnable
Packages that use SpanRunnable
Package
Description
The OpenTelemetry SDK implementation of tracing.
-
Uses of SpanRunnable in io.opentelemetry.api.incubator.trace
Methods in io.opentelemetry.api.incubator.trace with parameters of type SpanRunnableModifier and TypeMethodDescription<E extends Throwable>
voidExtendedDefaultTracer.NoopSpanBuilder.startAndRun
(SpanRunnable<E> runnable) <E extends Throwable>
voidExtendedDefaultTracer.NoopSpanBuilder.startAndRun
(SpanRunnable<E> runnable, BiConsumer<Span, Throwable> handleException) <E extends Throwable>
voidExtendedSpanBuilder.startAndRun
(SpanRunnable<E> runnable) Runs the givenSpanRunnable
inside of the span created by the givenSpanBuilder
.<E extends Throwable>
voidExtendedSpanBuilder.startAndRun
(SpanRunnable<E> runnable, BiConsumer<Span, Throwable> handleException) Runs the givenSpanRunnable
inside of the span created by the givenSpanBuilder
. -
Uses of SpanRunnable in io.opentelemetry.sdk.trace
Methods in io.opentelemetry.sdk.trace with parameters of type SpanRunnableModifier and TypeMethodDescription<E extends Throwable>
voidSdkSpanBuilder.startAndRun
(SpanRunnable<E> runnable) <E extends Throwable>
voidSdkSpanBuilder.startAndRun
(SpanRunnable<E> runnable, BiConsumer<Span, Throwable> handleException)