public class BraveCurrentTraceContext extends Object implements org.springframework.cloud.sleuth.CurrentTraceContext
CurrentTraceContext.| Constructor and Description |
|---|
BraveCurrentTraceContext(brave.propagation.CurrentTraceContext delegate) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.sleuth.TraceContext |
context() |
org.springframework.cloud.sleuth.CurrentTraceContext.Scope |
maybeScope(org.springframework.cloud.sleuth.TraceContext context) |
org.springframework.cloud.sleuth.CurrentTraceContext.Scope |
newScope(org.springframework.cloud.sleuth.TraceContext context) |
<C> Callable<C> |
wrap(Callable<C> task) |
Executor |
wrap(Executor delegate) |
ExecutorService |
wrap(ExecutorService delegate) |
Runnable |
wrap(Runnable task) |
public BraveCurrentTraceContext(brave.propagation.CurrentTraceContext delegate)
public org.springframework.cloud.sleuth.TraceContext context()
context in interface org.springframework.cloud.sleuth.CurrentTraceContextpublic org.springframework.cloud.sleuth.CurrentTraceContext.Scope newScope(org.springframework.cloud.sleuth.TraceContext context)
newScope in interface org.springframework.cloud.sleuth.CurrentTraceContextpublic org.springframework.cloud.sleuth.CurrentTraceContext.Scope maybeScope(org.springframework.cloud.sleuth.TraceContext context)
maybeScope in interface org.springframework.cloud.sleuth.CurrentTraceContextpublic <C> Callable<C> wrap(Callable<C> task)
wrap in interface org.springframework.cloud.sleuth.CurrentTraceContextpublic Runnable wrap(Runnable task)
wrap in interface org.springframework.cloud.sleuth.CurrentTraceContextpublic Executor wrap(Executor delegate)
wrap in interface org.springframework.cloud.sleuth.CurrentTraceContextpublic ExecutorService wrap(ExecutorService delegate)
wrap in interface org.springframework.cloud.sleuth.CurrentTraceContextCopyright © 2021 Pivotal Software, Inc.. All rights reserved.