Package io.trino.filesystem.alluxio
Class AlluxioTracing
java.lang.Object
io.trino.filesystem.alluxio.AlluxioTracing
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAlluxioTracing.CheckedRunnable<E extends Exception>static interfaceAlluxioTracing.CheckedSupplier<T,E extends Exception> -
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends Exception>
voidwithTracing(io.opentelemetry.api.trace.Span span, AlluxioTracing.CheckedRunnable<E> supplier) static <T,E extends Exception>
TwithTracing(io.opentelemetry.api.trace.Span span, AlluxioTracing.CheckedSupplier<T, E> supplier)
-
Method Details
-
withTracing
public static <T,E extends Exception> T withTracing(io.opentelemetry.api.trace.Span span, AlluxioTracing.CheckedSupplier<T, E> supplier) throws E- Throws:
E
-
withTracing
public static <E extends Exception> void withTracing(io.opentelemetry.api.trace.Span span, AlluxioTracing.CheckedRunnable<E> supplier) throws E - Throws:
E
-