-
public interface SpanContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSpanContext.Storage
-
Method Summary
Modifier and Type Method Description Runnablewrap(Runnable runnable)Convenience function to wrap a given Runnable in the current SpanContext. <T extends Any> Callable<T>wrap(Callable<T> callable)Convenience function to wrap a given Callable in the current SpanContext. abstract LonggetSpanId()abstract UUIDgetTraceId()-
-
Method Detail
-
wrap
Runnable wrap(Runnable runnable)
Convenience function to wrap a given Runnable in the current SpanContext. This can be used when submitting tasks to Executors or other targets that are not aware of the BugSnag SpanContext.
-
wrap
<T extends Any> Callable<T> wrap(Callable<T> callable)
Convenience function to wrap a given Callable in the current SpanContext. This can be used when submitting tasks to Executors or other targets that are not aware of the BugSnag SpanContext.
-
getTraceId
abstract UUID getTraceId()
-
-
-
-