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.FactoryBuilderadd(BaggagePropagationConfig config)Propagation.Factorybuild()Returns the delegate if there are no fields to propagate.BaggagePropagation.FactoryBuilderclear()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.
-