Class AttributeValuesImpl
java.lang.Object
org.apache.solr.cluster.placement.impl.AttributeValuesImpl
- All Implemented Interfaces:
AttributeValues
Implementation of
AttributeValues used by AttributeFetcherImpl.-
Constructor Summary
ConstructorsConstructorDescriptionAttributeValuesImpl(Map<String, Map<Node, String>> systemSnitchToNodeToValue, Map<NodeMetric<?>, Map<Node, Object>> metricSnitchToNodeToValue, Map<String, CollectionMetrics> collectionMetrics) -
Method Summary
Modifier and TypeMethodDescriptiongetCollectionMetrics(String collectionName) Get collection metrics.<T> Optional<T> getNodeMetric(Node node, NodeMetric<T> metric) For the given node: metric identified by an instance ofNodeMetricgetSystemProperty(Node node, String name) For the given node: system property value (system properties are passed to Java using-Dname=value
-
Constructor Details
-
AttributeValuesImpl
-
-
Method Details
-
getSystemProperty
Description copied from interface:AttributeValuesFor the given node: system property value (system properties are passed to Java using-Dname=value- Specified by:
getSystemPropertyin interfaceAttributeValues
-
getNodeMetric
Description copied from interface:AttributeValuesFor the given node: metric identified by an instance ofNodeMetric- Specified by:
getNodeMetricin interfaceAttributeValues
-
getCollectionMetrics
Description copied from interface:AttributeValuesGet collection metrics.- Specified by:
getCollectionMetricsin interfaceAttributeValues
-