public class OpenTracingTemplate extends Object
| Constructor and Description |
|---|
OpenTracingTemplate() |
| Modifier and Type | Method and Description |
|---|---|
static <T,E extends Exception> |
span(String operationName,
long startTimestampInMillis,
OpenTracingCallback<T,E> callback)
Execute the given callback inside a Span started at the specified time.
|
static <T,E extends Exception> |
span(String operationName,
OpenTracingCallback<T,E> callback)
Execute the given callback inside a Span.
|
public static <T,E extends Exception> T span(String operationName, OpenTracingCallback<T,E> callback) throws E extends Exception
operationName - callback - E - An implementation-dependent exception.E extends Exceptionpublic static <T,E extends Exception> T span(String operationName, long startTimestampInMillis, OpenTracingCallback<T,E> callback) throws E extends Exception
operationName - startTimestampInMillis - callback - E - An implementation-dependent exception.E extends ExceptionCopyright © 2026. All rights reserved.