You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Andrzej Bialecki (Jira)" <ji...@apache.org> on 2019/10/22 11:11:00 UTC

[jira] [Created] (SOLR-13858) Clean up SolrInfoBean / SolrMetricProducer API

Andrzej Bialecki created SOLR-13858:
---------------------------------------

             Summary: Clean up SolrInfoBean / SolrMetricProducer API
                 Key: SOLR-13858
                 URL: https://issues.apache.org/jira/browse/SOLR-13858
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: metrics
            Reporter: Andrzej Bialecki
            Assignee: Andrzej Bialecki
             Fix For: master (9.0)


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org