Uses of Class
com.ocient.metrics.Metric
| Package | Description |
|---|---|
| com.ocient.metrics | |
| com.ocient.rest |
-
Uses of Metric in com.ocient.metrics
Subclasses of Metric in com.ocient.metrics Modifier and Type Class Description classGaugeclassPerfCounterMethods in com.ocient.metrics that return types with arguments of type Metric Modifier and Type Method Description Optional<Metric<?>>MetricsRegistry. find(Metric.MetricPath path)Finds the singleMetricwith the exact given path.Stream<Metric<?>>MetricsRegistry. stream()Method parameters in com.ocient.metrics with type arguments of type Metric Modifier and Type Method Description <R, A> RMetricsRegistry. find(Predicate<Metric<?>> predicate, Collector<Metric<?>,A,R> collector)Finds the group ofMetrics that match the given predicate.<R, A> RMetricsRegistry. find(Predicate<Metric<?>> predicate, Collector<Metric<?>,A,R> collector)Finds the group ofMetrics that match the given predicate.voidMetricsRegistry. removeIf(Predicate<Metric<?>> predicate)Removes a counter with the givenMetric.MetricPath. -
Uses of Metric in com.ocient.rest
Method parameters in com.ocient.rest with type arguments of type Metric Modifier and Type Method Description static MetricsResponseMetricsResponse. delayed(List<Metric<?>> metrics)Returns a response that defers capture ofMetricvalues until JSON serialization using the com.fasterxml.jackson.databindJsonSerializer.static MetricsResponseMetricsResponse. snapshot(List<Metric<?>> metrics)Eagerly snapshots the current values for allMetrics.