Package org.apache.camel.tracing
Class ActiveSpanManager.Holder
- java.lang.Object
-
- org.apache.camel.tracing.ActiveSpanManager.Holder
-
- Enclosing class:
- ActiveSpanManager
public static class ActiveSpanManager.Holder extends Object
Simple holder for the currently active span and an optional reference to the parent holder. This will be used to maintain a stack for spans, built up during the execution of a series of chained camel exchanges, and then unwound when the responses are processed.
-
-
Constructor Summary
Constructors Constructor Description Holder(ActiveSpanManager.Holder parent, SpanAdapter span)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiveSpanManager.Holder
getParent()
SpanAdapter
getSpan()
-
-
-
Constructor Detail
-
Holder
public Holder(ActiveSpanManager.Holder parent, SpanAdapter span)
-
-
Method Detail
-
getParent
public ActiveSpanManager.Holder getParent()
-
getSpan
public SpanAdapter getSpan()
-
-