Class MetricDefinition
java.lang.Object
io.vertigo.core.node.definition.AbstractDefinition<MetricDefinition>
io.vertigo.core.analytics.metric.definitions.MetricDefinition
- All Implemented Interfaces:
Definition
This definition defines a metric
- a definition name
- a way to get a list of metrics
- Author:
- mlaroche, pchretien
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMetricDefinition(String name, Supplier<List<Metric>> metricSupplier) Constructor -
Method Summary
Methods inherited from class io.vertigo.core.node.definition.AbstractDefinition
idMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vertigo.core.node.definition.Definition
getName
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
MetricDefinition
Constructor- Parameters:
name- Definition namemetricSupplier- the method that provides a list of metrics
-
-
Method Details
-
getMetricSupplier
- Returns:
- the check method that provides a health measure
-