Interface Metric<T>
-
- All Known Subinterfaces:
NodeMetric<T>
,ReplicaMetric<T>
- All Known Implementing Classes:
MetricImpl
,NodeMetricImpl
,ReplicaMetricImpl
public interface Metric<T>
Metric-related attribute of a node or replica. It defines a short symbolic name of the metric, the corresponding internal metric name and the desired format/unit conversion. Generic type specifies the type of converted values of this attribute.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
convert(Object value)
Convert raw value.String
getInternalName()
Return the internal name of a Solr metric associated with this attribute.String
getName()
Return the short-hand name that identifies this attribute.
-