public class TestPropagator extends Object implements org.springframework.cloud.sleuth.propagation.Propagator
Propagator that stores information about started spans.| Constructor and Description |
|---|
TestPropagator(org.springframework.cloud.sleuth.propagation.Propagator delegate,
TestTracer testTracer) |
| Modifier and Type | Method and Description |
|---|---|
<C> org.springframework.cloud.sleuth.Span.Builder |
extract(C carrier,
org.springframework.cloud.sleuth.propagation.Propagator.Getter<C> getter) |
List<String> |
fields() |
<C> void |
inject(org.springframework.cloud.sleuth.TraceContext context,
C carrier,
org.springframework.cloud.sleuth.propagation.Propagator.Setter<C> setter) |
public TestPropagator(org.springframework.cloud.sleuth.propagation.Propagator delegate,
TestTracer testTracer)
public List<String> fields()
fields in interface org.springframework.cloud.sleuth.propagation.Propagatorpublic <C> void inject(org.springframework.cloud.sleuth.TraceContext context,
C carrier,
org.springframework.cloud.sleuth.propagation.Propagator.Setter<C> setter)
inject in interface org.springframework.cloud.sleuth.propagation.Propagatorpublic <C> org.springframework.cloud.sleuth.Span.Builder extract(C carrier,
org.springframework.cloud.sleuth.propagation.Propagator.Getter<C> getter)
extract in interface org.springframework.cloud.sleuth.propagation.PropagatorCopyright © 2023 Pivotal Software, Inc.. All rights reserved.