Package brave.propagation
Class ThreadLocalCurrentTraceContext.Builder
java.lang.Object
brave.propagation.CurrentTraceContext.Builder
brave.propagation.ThreadLocalCurrentTraceContext.Builder
- Enclosing class:
- ThreadLocalCurrentTraceContext
public static final class ThreadLocalCurrentTraceContext.Builder extends CurrentTraceContext.Builder
- Since:
- 5.11
-
Method Summary
Modifier and Type Method Description ThreadLocalCurrentTraceContext.BuilderaddScopeDecorator(CurrentTraceContext.ScopeDecorator scopeDecorator)Implementations call decorators in order to add features like log correlation to a scope.ThreadLocalCurrentTraceContextbuild()
-
Method Details
-
addScopeDecorator
public ThreadLocalCurrentTraceContext.Builder addScopeDecorator(CurrentTraceContext.ScopeDecorator scopeDecorator)Description copied from class:CurrentTraceContext.BuilderImplementations call decorators in order to add features like log correlation to a scope.- Overrides:
addScopeDecoratorin classCurrentTraceContext.Builder
-
build
- Specified by:
buildin classCurrentTraceContext.Builder
-