Class BravePropagator

java.lang.Object
org.springframework.cloud.sleuth.brave.bridge.BravePropagator
All Implemented Interfaces:
org.springframework.cloud.sleuth.propagation.Propagator

public class BravePropagator extends Object implements org.springframework.cloud.sleuth.propagation.Propagator
Brave implementation of a Propagator.
Since:
3.0.0
Author:
Marcin Grzejszczak
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.springframework.cloud.sleuth.propagation.Propagator

    org.springframework.cloud.sleuth.propagation.Propagator.Getter<C extends Object>, org.springframework.cloud.sleuth.propagation.Propagator.Setter<C extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    BravePropagator(brave.Tracing tracing)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <C> org.springframework.cloud.sleuth.Span.Builder
    extract(C carrier, org.springframework.cloud.sleuth.propagation.Propagator.Getter<C> getter)
     
     
    <C> void
    inject(org.springframework.cloud.sleuth.TraceContext traceContext, C carrier, org.springframework.cloud.sleuth.propagation.Propagator.Setter<C> setter)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BravePropagator

      public BravePropagator(brave.Tracing tracing)
  • Method Details

    • fields

      public List<String> fields()
      Specified by:
      fields in interface org.springframework.cloud.sleuth.propagation.Propagator
    • inject

      public <C> void inject(org.springframework.cloud.sleuth.TraceContext traceContext, C carrier, org.springframework.cloud.sleuth.propagation.Propagator.Setter<C> setter)
      Specified by:
      inject in interface org.springframework.cloud.sleuth.propagation.Propagator
    • extract

      public <C> org.springframework.cloud.sleuth.Span.Builder extract(C carrier, org.springframework.cloud.sleuth.propagation.Propagator.Getter<C> getter)
      Specified by:
      extract in interface org.springframework.cloud.sleuth.propagation.Propagator