Package brave.sampler
Class Matchers
java.lang.Object
brave.sampler.Matchers
public final class Matchers extends Object
Convenience functions to compose matchers for
ParameterizedSampler
.- Since:
- 5.8
- See Also:
Matcher
,ParameterizedSampler
-
Constructor Summary
Constructors Constructor Description Matchers()
-
Method Summary
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)
-
Constructor Details
-
Matchers
public Matchers()
-
-
Method Details
-
alwaysMatch
- Since:
- 5.8
-
neverMatch
- Since:
- 5.8
-
and
- Since:
- 5.8
-
and
- Since:
- 5.8
-
or
- Since:
- 5.8
-
or
- Since:
- 5.8
-