- java.lang.Object
-
- brave.propagation.CurrentTraceContext
-
- brave.propagation.ThreadLocalCurrentTraceContext
-
- brave.propagation.StrictCurrentTraceContext
-
@Deprecated public final class StrictCurrentTraceContext extends ThreadLocalCurrentTraceContext
Deprecated.use StrictScopeDecorator. This will be removed in Brave v6.Useful when developing instrumentation as state is enforced more strictly.For example, it is instance scoped as opposed to static scoped, not inheritable and throws an exception if a scope is closed on a different thread that it was opened on.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class brave.propagation.CurrentTraceContext
CurrentTraceContext.Default, CurrentTraceContext.Scope, CurrentTraceContext.ScopeDecorator
-
-
Constructor Summary
Constructors Constructor Description StrictCurrentTraceContext()Deprecated.
-
Method Summary
-
Methods inherited from class brave.propagation.ThreadLocalCurrentTraceContext
create, get, newBuilder, newScope
-
Methods inherited from class brave.propagation.CurrentTraceContext
decorateScope, executor, executorService, maybeScope, wrap, wrap
-
-