- java.lang.Object
-
- brave.propagation.CurrentTraceContext.Builder
-
- Enclosing class:
- CurrentTraceContext
public abstract static class CurrentTraceContext.Builder extends java.lang.ObjectImplementations of this allow standardized configuration, for example scope decoration.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description CurrentTraceContext.BuilderaddScopeDecorator(CurrentTraceContext.ScopeDecorator scopeDecorator)Implementations call decorators in order to add features like log correlation to a scope.abstract CurrentTraceContextbuild()
-
-
-
Method Detail
-
addScopeDecorator
public CurrentTraceContext.Builder addScopeDecorator(CurrentTraceContext.ScopeDecorator scopeDecorator)
Implementations call decorators in order to add features like log correlation to a scope.- Since:
- 5.2
-
build
public abstract CurrentTraceContext build()
-
-