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.Builder
addScopeDecorator(CurrentTraceContext.ScopeDecorator scopeDecorator)
Implementations call decorators in order to add features like log correlation to a scope.ThreadLocalCurrentTraceContext
build()
-
Method Details
-
addScopeDecorator
public ThreadLocalCurrentTraceContext.Builder addScopeDecorator(CurrentTraceContext.ScopeDecorator scopeDecorator)Description copied from class:CurrentTraceContext.Builder
Implementations call decorators in order to add features like log correlation to a scope.- Overrides:
addScopeDecorator
in classCurrentTraceContext.Builder
-
build
- Specified by:
build
in classCurrentTraceContext.Builder
-