Package brave.baggage
Class BaggagePropagation.FactoryBuilder
java.lang.Object
brave.baggage.BaggagePropagation.FactoryBuilder
- Enclosing class:
- BaggagePropagation<K>
public static class BaggagePropagation.FactoryBuilder extends Object
-
Method Summary
Modifier and Type Method Description BaggagePropagation.FactoryBuilder
add(BaggagePropagationConfig config)
Propagation.Factory
build()
Returns the delegate if there are no fields to propagate.BaggagePropagation.FactoryBuilder
clear()
Clears all state.Set<BaggagePropagationConfig>
configs()
Returns an immutable copy of the current configuration.
-
Method Details
-
configs
Returns an immutable copy of the current configuration. This allows those who can't create the builder to reconfigure this builder.- Since:
- 5.11
- See Also:
clear()
-
clear
Clears all state. This allows those who can't create the builder to reconfigure fields.- Since:
- 5.11
- See Also:
configs()
,BaggagePropagationCustomizer
-
add
- Since:
- 5.11
-
build
Returns the delegate if there are no fields to propagate.
-