Package brave.sampler
Class ParameterizedSampler.Builder<P>
java.lang.Object
brave.sampler.ParameterizedSampler.Builder<P>
- Enclosing class:
- ParameterizedSampler<P>
public static final class ParameterizedSampler.Builder<P> extends Object
- Since:
- 5.8
-
Method Summary
Modifier and Type Method Description ParameterizedSampler<P>
build()
ParameterizedSampler.Builder<P>
putAllRules(ParameterizedSampler<P> sampler)
Adds or replaces all rules in this sampler with those of the input.ParameterizedSampler.Builder<P>
putRule(Matcher<P> matcher, Sampler sampler)
Adds or replaces the sampler of the input matcher.
-
Method Details
-
putAllRules
Adds or replaces all rules in this sampler with those of the input.- Since:
- 5.8
-
putRule
Adds or replaces the sampler of the input matcher.- Since:
- 5.8
-
build
-