Package brave.propagation
Class StrictCurrentTraceContext.Builder
java.lang.Object
brave.propagation.CurrentTraceContext.Builder
brave.propagation.StrictCurrentTraceContext.Builder
- Enclosing class:
- StrictCurrentTraceContext
public static final class StrictCurrentTraceContext.Builder extends CurrentTraceContext.Builder
-
Method Summary
Modifier and Type Method Description StrictCurrentTraceContext.Builder
addScopeDecorator(CurrentTraceContext.ScopeDecorator scopeDecorator)
Implementations call decorators in order to add features like log correlation to a scope.StrictCurrentTraceContext
build()
-
Method Details
-
build
- Specified by:
build
in classCurrentTraceContext.Builder
-
addScopeDecorator
public StrictCurrentTraceContext.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
-