Class NodeMetricImpl<T>
java.lang.Object
org.apache.solr.cluster.placement.impl.MetricImpl<T>
org.apache.solr.cluster.placement.impl.NodeMetricImpl<T>
- All Implemented Interfaces:
Metric<T>,NodeMetric<T>
Node metric identifier, corresponding to a node-level metric name with labels
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NodeMetricImpl<Integer> Number of available processors.static final NodeMetricImpl<Double> Free (usable) disk space in GB.static final NodeMetricImpl<Integer> Number of all cores.static final NodeMetricImpl<Double> System load average.static final NodeMetricImpl<Double> Total disk space in GB.Fields inherited from class org.apache.solr.cluster.placement.impl.MetricImpl
converter, IDENTITY_CONVERTER, internalName, labelKey, labelValue, MB_TO_GB_CONVERTER, name -
Constructor Summary
ConstructorsConstructorDescriptionNodeMetricImpl(String key) NodeMetricImpl(String name, String internalName) NodeMetricImpl(String name, String internalName, String labelKey, String labelValue, Function<Object, T> converter) NodeMetricImpl(String key, Function<Object, T> converter) -
Method Summary
Methods inherited from class org.apache.solr.cluster.placement.impl.MetricImpl
convert, getInternalName, getLabelKey, getLabelValue, getName, hasLabelsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.solr.cluster.placement.Metric
convert, getInternalName, getLabelKey, getLabelValue, getName, hasLabels
-
Field Details
-
TOTAL_DISK_GB
Total disk space in GB. -
FREE_DISK_GB
Free (usable) disk space in GB. -
NUM_CORES
Number of all cores. -
SYSLOAD_AVG
System load average. -
AVAILABLE_PROCESSORS
Number of available processors.
-
-
Constructor Details
-
NodeMetricImpl
-
NodeMetricImpl
-
NodeMetricImpl
-
NodeMetricImpl
-
NodeMetricImpl
-
-
Method Details
-
equals
- Overrides:
equalsin classMetricImpl<T>
-
hashCode
public int hashCode()- Overrides:
hashCodein classMetricImpl<T>
-
toString
- Overrides:
toStringin classMetricImpl<T>
-