Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13858

Clean up SolrInfoBean / SolrMetricProducer API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • metrics
    • None

    Description

      For historical reasons both SolrInfoBean and SolrMetricProducer contain methods and constants / enums that deal with handling and reporting of metrics. In almost all cases implementations of SolrInfoBean also implement SolrMetricProducer.

      I propose to refactor this API so that SolrInfoBean simply extends SolrMetricProducer. This will reduce the API surface and eliminate multiple rote methods that subclasses must now implement.

      This is an incompatible API change so it's applicable only to version 9.0.

      Attachments

        1. SOLR-13858.patch
          100 kB
          Andrzej Bialecki

        Issue Links

          Activity

            People

              ab Andrzej Bialecki
              ab Andrzej Bialecki
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m