public final class ZipkinState extends Object
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 |
---|---|
com.github.kristofa.brave.ServerSpan |
peekServerSpan() |
com.twitter.zipkin.gen.Span |
popClientSpan() |
com.github.kristofa.brave.ServerSpan |
popServerSpan() |
void |
pushClientSpan(com.twitter.zipkin.gen.Span span) |
void |
pushServerSpan(com.github.kristofa.brave.ServerSpan span) |
public static final String KEY
public void pushClientSpan(com.twitter.zipkin.gen.Span span)
public com.twitter.zipkin.gen.Span popClientSpan()
public void pushServerSpan(com.github.kristofa.brave.ServerSpan span)
public com.github.kristofa.brave.ServerSpan popServerSpan()
public com.github.kristofa.brave.ServerSpan peekServerSpan()
Apache Camel