...
package org.apache.ignite;
public interface IgniteMetrics {
<T extends Metric> T metric(T metric);
@Nullable <T extends Metric> T metric(String name);
void removeMetric(String name);
ReadOnlyMetricRegistry registry(String name);
LongMetric void longMetric(String name, LongSupplier valueSupplier, @Nullable String description);
LongSupplier longMetric(String name, @Nullable String description);
void DoubleMetric doubleMetric(String name, DoubleSupplier valueSupplier, @Nullable String description);
DoubleSupplier doubleMetric(String name, @Nullable String description);
void BooleanMetric booleanMetric(String name, BooleanSupplier valueSupplier, @Nullable String description);
BooleanSupplier booleanMetric(String name, @Nullable String description);
<T> ObjectMetric<T>void objectMetric(String name, Class<T> valueType, Supplier<T> valueSupplier, @Nullable String description);
<T> Supplier<T> objectMetric(String name, Class<T> valueType, @Nullable String description);
}
...