public class ThreadLocalScopeManager extends Object implements ScopeManager
ScopeManager
implementation built on top of Java's thread-local storage primitive.ThreadLocalScope
Constructor and Description |
---|
ThreadLocalScopeManager() |
Modifier and Type | Method and Description |
---|---|
Scope |
activate(Span span) |
Scope |
activate(Span span,
boolean finishOnClose) |
Scope |
active() |
Span |
activeSpan() |
public Scope activate(Span span, boolean finishOnClose)
activate
in interface ScopeManager
public Scope activate(Span span)
activate
in interface ScopeManager
public Scope active()
active
in interface ScopeManager
public Span activeSpan()
activeSpan
in interface ScopeManager
Copyright © 2016–2019 OpenTracing. All rights reserved.