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
All Methods Instance Methods Concrete Methods 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 Detail
-
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
public ThreadLocalCurrentTraceContext build()
- Specified by:
buildin classCurrentTraceContext.Builder
-
-