Package brave.sampler
Class Matchers
- java.lang.Object
-
- brave.sampler.Matchers
-
public final class Matchers extends Object
Convenience functions to compose matchers forParameterizedSampler
.- Since:
- 5.8
- See Also:
Matcher
,ParameterizedSampler
-
-
Constructor Summary
Constructors Constructor Description Matchers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <P> Matcher<P>
alwaysMatch()
static <P> Matcher<P>
and(Matcher<P>... matchers)
static <P> Matcher<P>
and(Iterable<? extends Matcher<P>> matchers)
static <P> Matcher<P>
neverMatch()
static <P> Matcher<P>
or(Matcher<P>... matchers)
static <P> Matcher<P>
or(Iterable<? extends Matcher<P>> matchers)
-