Interface MetricCategoryRegistry
- All Superinterfaces:
BesuService
Allow registration of
MetricCategory instances so they are recognised by the metrics
system and can be enabled.
Categories must be registered during plugin initialisation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetricCategory(MetricCategory newMetricCategory) Registers aMetricCategory.booleanisMetricCategoryEnabled(MetricCategory metricCategory) Return true if the metrics are enabled and the metric category is enabled
-
Method Details
-
addMetricCategory
Registers aMetricCategory.- Parameters:
newMetricCategory- TheMetricCategorythat is being registered.
-
isMetricCategoryEnabled
Return true if the metrics are enabled and the metric category is enabled- Parameters:
metricCategory- the metric category- Returns:
- true if the metrics are enabled and the metric category is enabled
-