static <N extends Node,R extends Number> @Nullable R |
Metric.compute(Metric<N,R> metric,
Node node,
MetricOptions options) |
Compute a metric on an arbitrary node, if possible.
|
static <N extends Node,R extends Number> R |
MetricsUtil.computeMetric(Metric<? super N,R> key,
N node) |
Computes a metric identified by its code on a node, with the default options.
|
static <N extends Node,R extends Number> R |
MetricsUtil.computeMetric(Metric<? super N,R> key,
N node,
MetricOptions options) |
Computes a metric identified by its code on a node, possibly
selecting a variant with the options parameter.
|
static <N extends Node,R extends Number> R |
MetricsUtil.computeMetric(Metric<? super N,R> key,
N node,
MetricOptions options,
boolean forceRecompute) |
Computes a metric identified by its code on a node, possibly
selecting a variant with the options parameter.
|
static <O extends Node> DoubleSummaryStatistics |
MetricsUtil.computeStatistics(Metric<? super O,?> key,
Iterable<? extends O> ops) |
Computes statistics for the results of a metric over a sequence of nodes.
|
static <O extends Node> DoubleSummaryStatistics |
MetricsUtil.computeStatistics(Metric<? super O,?> key,
Iterable<? extends O> ops,
MetricOptions options) |
Computes statistics for the results of a metric over a sequence of nodes.
|
static boolean |
MetricsUtil.supportsAll(Node node,
Metric<?,?>... metrics) |
|