Package brave.baggage

Interface BaggageField.ValueUpdater

  • Enclosing class:
    BaggageField

    public static interface BaggageField.ValueUpdater
    Used to decouple baggage value updates from TraceContext or TraceContextOrSamplingFlags storage.

    Note: This type is safe to implement as a lambda, or use as a method reference as it is effectively a FunctionalInterface. It isn't annotated as such because the project has a minimum Java language level 6.

    Since:
    5.12