Package brave.baggage

Class CorrelationScopeConfig.SingleCorrelationField

java.lang.Object
brave.baggage.CorrelationScopeConfig
brave.baggage.CorrelationScopeConfig.SingleCorrelationField
Enclosing class:
CorrelationScopeConfig

public static class CorrelationScopeConfig.SingleCorrelationField
extends CorrelationScopeConfig
Holds CorrelationScopeDecorator configuration for a baggage field.

Visibility

By default, field updates only apply during scope decoration. This means values set do not flush immediately to the underlying correlation context. Rather, they are scheduled for the next scope operation as a way to control overhead. flushOnUpdate() overrides this.

Since:
5.11
See Also:
CorrelationScopeDecorator, BaggageField