Uses of Class
com.hazelcast.jet.core.metrics.Measurement
Package | Description |
---|---|
com.hazelcast.jet.core.metrics |
Jet's Job Metric API.
|
-
Uses of Measurement in com.hazelcast.jet.core.metrics
Methods in com.hazelcast.jet.core.metrics that return Measurement Modifier and Type Method Description static Measurement
Measurement. of(String metric, long value, long timestamp, Map<String,String> tags)
Builds aMeasurement
instance based on timestamp, value and the metric descriptor in map form.Methods in com.hazelcast.jet.core.metrics that return types with arguments of type Measurement Modifier and Type Method Description static Predicate<Measurement>
MeasurementPredicates. containsTag(String tag)
Matches aMeasurement
which contain the specified tag.List<Measurement>
JobMetrics. get(String metricName)
Returns allMeasurement
s associated with a given metric name.static Predicate<Measurement>
MeasurementPredicates. tagValueEquals(String tag, String value)
Matches aMeasurement
which contains the specified tag and the tag has the specified value.static Predicate<Measurement>
MeasurementPredicates. tagValueMatches(String tag, String valueRegexp)
Matches aMeasurement
which has this exact tag with a value matching the provided regular expression.Method parameters in com.hazelcast.jet.core.metrics with type arguments of type Measurement Modifier and Type Method Description JobMetrics
JobMetrics. filter(Predicate<Measurement> predicate)
Returns a newJobMetrics
instance containing a subset of theMeasurement
s found in the current one.static JobMetrics
JobMetrics. of(Map<String,List<Measurement>> metrics)
Builds aJobMetrics
object based on a map ofMeasurement
s.