public class MTC extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MTC.TraceSurroundings
Helper for managing of span life cycle.
|
| Constructor and Description |
|---|
MTC() |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull Span |
span() |
static MTC.TraceSurroundings |
support(Span startSpan)
Attach given span to current thread if it isn't null or NOOP_SPAN.
|
static MTC.TraceSurroundings |
supportContinual(Span startSpan)
Attach given span to current thread if it isn't null or NOOP_SPAN.
|
static void |
supportInitial(Span startSpan)
Support initial span.
|
@NotNull public static @NotNull Span span()
public static MTC.TraceSurroundings support(Span startSpan)
MTC.TraceSurroundings.close() would be called.startSpan - Span which should be added to current thread.MTC.TraceSurroundings for manage span life cycle or null in case of null or no-op span.public static void supportInitial(Span startSpan)
startSpan - Span which should be added to current thread.public static MTC.TraceSurroundings supportContinual(Span startSpan)
startSpan - Span which should be added to current thread.MTC.TraceSurroundings for manage span life cycle or null in case of null or no-op span.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021