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
All Methods Instance Methods Concrete Methods 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 Detail
-
configs
public Set<BaggagePropagationConfig> 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
public BaggagePropagation.FactoryBuilder clear()
Clears all state. This allows those who can't create the builder to reconfigure fields.- Since:
- 5.11
- See Also:
configs(),BaggagePropagationCustomizer
-
add
public BaggagePropagation.FactoryBuilder add(BaggagePropagationConfig config)
- Since:
- 5.11
-
build
public Propagation.Factory build()
Returns the delegate if there are no fields to propagate.
-
-