public final class ZipkinState extends Object implements org.apache.camel.SafeCopyProperty
Exchange
This is needed to keep track of of correlating when an existing span is calling downstream service(s) and therefore
must be able to correlate those service calls with the parent span.| Constructor and Description |
|---|
ZipkinState() |
| Modifier and Type | Method and Description |
|---|---|
brave.Span |
peekServerSpan() |
brave.Span |
popClientSpan() |
brave.Span |
popServerSpan() |
void |
pushClientSpan(brave.Span span) |
void |
pushServerSpan(brave.Span span) |
ZipkinState |
safeCopy() |
public static final String KEY
public void pushClientSpan(brave.Span span)
public brave.Span popClientSpan()
public void pushServerSpan(brave.Span span)
public brave.Span popServerSpan()
public brave.Span peekServerSpan()
public ZipkinState safeCopy()
safeCopy in interface org.apache.camel.SafeCopyPropertyApache Camel