MetricsFeature.java
365 Bytes
package org.onlab.metrics;
/**
* Features to tag metrics.
*/
public class MetricsFeature {
private final String name;
/**
* Constructs a Feature from a name.
*
* @param newName name of the Feature
*/
MetricsFeature(final String newName) {
name = newName;
}
public String getName() {
return name;
}
}