Package org.onlab.metrics
Interface MetricsComponentRegistry
-
- All Known Implementing Classes:
MetricsComponent
public interface MetricsComponentRegistryRegistry Entry for Metrics Components.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()Fetches the name of the Component.MetricsFeatureregisterFeature(java.lang.String featureName)Registers a Feature for this component.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Fetches the name of the Component.- Returns:
- name of the Component
-
registerFeature
MetricsFeature registerFeature(java.lang.String featureName)
Registers a Feature for this component.- Parameters:
featureName- name of the Feature to register- Returns:
- Feature object that can be used when creating Metrics
-
-