Class 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 Detail

      • BraveBaggageManager

        public BraveBaggageManager()
    • Method Detail

      • 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