Class ReplicaMetricImpl<T>
- java.lang.Object
-
- org.apache.solr.cluster.placement.impl.MetricImpl<T>
-
- org.apache.solr.cluster.placement.impl.ReplicaMetricImpl<T>
-
- All Implemented Interfaces:
Metric<T>
,ReplicaMetric<T>
public class ReplicaMetricImpl<T> extends MetricImpl<T> implements ReplicaMetric<T>
Replica metric identifier, corresponding to one of the internal replica-level metric names (as reported insolr.core.[collection].[replica]
registry)
-
-
Field Summary
Fields Modifier and Type Field Description static ReplicaMetricImpl<Double>
INDEX_SIZE_GB
Replica index size in GB.static ReplicaMetricImpl<Double>
QUERY_RATE_1MIN
1-min query rate of the /select handler.static ReplicaMetricImpl<Double>
UPDATE_RATE_1MIN
1-min update rate of the /update handler.-
Fields inherited from class org.apache.solr.cluster.placement.impl.MetricImpl
BYTES_TO_GB_CONVERTER, converter, GB, IDENTITY_CONVERTER, internalName, name
-
-
Constructor Summary
Constructors Constructor Description ReplicaMetricImpl(String name, String internalName)
ReplicaMetricImpl(String name, String internalName, Function<Object,T> converter)
-
Method Summary
-
Methods inherited from class org.apache.solr.cluster.placement.impl.MetricImpl
convert, equals, getInternalName, getName, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.solr.cluster.placement.Metric
convert, getInternalName, getName
-
-
-
-
Field Detail
-
INDEX_SIZE_GB
public static final ReplicaMetricImpl<Double> INDEX_SIZE_GB
Replica index size in GB.
-
QUERY_RATE_1MIN
public static final ReplicaMetricImpl<Double> QUERY_RATE_1MIN
1-min query rate of the /select handler.
-
UPDATE_RATE_1MIN
public static final ReplicaMetricImpl<Double> UPDATE_RATE_1MIN
1-min update rate of the /update handler.
-
-