Class BraveBaggageManager

java.lang.Object
org.springframework.cloud.sleuth.brave.bridge.BraveBaggageManager
All Implemented Interfaces:
Closeable, AutoCloseable, org.springframework.cloud.sleuth.BaggageManager

public class BraveBaggageManager extends Object implements Closeable, org.springframework.cloud.sleuth.BaggageManager
Brave implementation of a BaggageManager.
Since:
3.0.0
Author:
Marcin Grzejszczak
  • Constructor Details

    • BraveBaggageManager

      public BraveBaggageManager()
  • Method Details

    • getAllBaggage

      public Map<String,String> getAllBaggage()
      Specified by:
      getAllBaggage in interface org.springframework.cloud.sleuth.BaggageManager
    • getBaggage

      public org.springframework.cloud.sleuth.BaggageInScope getBaggage(String name)
      Specified by:
      getBaggage in interface org.springframework.cloud.sleuth.BaggageManager
    • getBaggage

      public org.springframework.cloud.sleuth.BaggageInScope getBaggage(org.springframework.cloud.sleuth.TraceContext traceContext, String name)
      Specified by:
      getBaggage in interface org.springframework.cloud.sleuth.BaggageManager
    • createBaggage

      public org.springframework.cloud.sleuth.BaggageInScope createBaggage(String name)
      Specified by:
      createBaggage in interface org.springframework.cloud.sleuth.BaggageManager
    • createBaggage

      public org.springframework.cloud.sleuth.BaggageInScope createBaggage(String name, String value)
      Specified by:
      createBaggage in interface org.springframework.cloud.sleuth.BaggageManager
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable