Class AttributeFetcherForTest

  • All Implemented Interfaces:
    org.apache.solr.cluster.placement.AttributeFetcher

    public class AttributeFetcherForTest
    extends Object
    implements org.apache.solr.cluster.placement.AttributeFetcher
    • Constructor Detail

      • AttributeFetcherForTest

        public AttributeFetcherForTest​(org.apache.solr.cluster.placement.AttributeValues attributeValues)
    • Method Detail

      • requestNodeSystemProperty

        public org.apache.solr.cluster.placement.AttributeFetcher requestNodeSystemProperty​(String name)
        Specified by:
        requestNodeSystemProperty in interface org.apache.solr.cluster.placement.AttributeFetcher
      • requestNodeMetric

        public org.apache.solr.cluster.placement.AttributeFetcher requestNodeMetric​(org.apache.solr.cluster.placement.NodeMetric<?> metric)
        Specified by:
        requestNodeMetric in interface org.apache.solr.cluster.placement.AttributeFetcher
      • requestCollectionMetrics

        public org.apache.solr.cluster.placement.AttributeFetcher requestCollectionMetrics​(org.apache.solr.cluster.SolrCollection solrCollection,
                                                                                           Set<org.apache.solr.cluster.placement.ReplicaMetric<?>> metricNames)
        Specified by:
        requestCollectionMetrics in interface org.apache.solr.cluster.placement.AttributeFetcher
      • fetchFrom

        public org.apache.solr.cluster.placement.AttributeFetcher fetchFrom​(Set<org.apache.solr.cluster.Node> nodes)
        Specified by:
        fetchFrom in interface org.apache.solr.cluster.placement.AttributeFetcher
      • fetchAttributes

        public org.apache.solr.cluster.placement.AttributeValues fetchAttributes()
        Specified by:
        fetchAttributes in interface org.apache.solr.cluster.placement.AttributeFetcher