public final class MeasurementPredicates extends Object
Measurement
filtering
predicates.Modifier and Type | Method and Description |
---|---|
static Predicate<Measurement> |
containsTag(String tag)
Matches a
Measurement which contain the specified tag. |
static Predicate<Measurement> |
tagValueEquals(String tag,
String value)
Matches a
Measurement which contains the specified tag and
the tag has the specified value. |
static Predicate<Measurement> |
tagValueMatches(String tag,
String valueRegexp)
Matches a
Measurement which has this exact tag with a value
matching the provided regular expression. |
public static Predicate<Measurement> containsTag(String tag)
Measurement
which contain the specified tag.tag
- the tag of interestpublic static Predicate<Measurement> tagValueEquals(String tag, String value)
Measurement
which contains the specified tag and
the tag has the specified value.tag
- the tag to matchvalue
- the value the tag has to havepublic static Predicate<Measurement> tagValueMatches(String tag, String valueRegexp)
Measurement
which has this exact tag with a value
matching the provided regular expression.tag
- the tag to matchvalueRegexp
- regular expression to match the value againstCopyright © 2024 Hazelcast, Inc.. All rights reserved.