You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Luca Cavanna (Jira)" <ji...@apache.org> on 2022/04/07 09:23:00 UTC

[jira] [Created] (LUCENE-10506) ProfilerCollector to support customizing how name is derived

Luca Cavanna created LUCENE-10506:
-------------------------------------

             Summary: ProfilerCollector to support customizing how name is derived
                 Key: LUCENE-10506
                 URL: https://issues.apache.org/jira/browse/LUCENE-10506
             Project: Lucene - Core
          Issue Type: Improvement
          Components: modules/sandbox
            Reporter: Luca Cavanna


ProfilerCollector (part of the sandbox) has a private method called deriveCollectorName that extracts the class simple name from the provided collector and sets it as the name of the collector which becomes part of the profile results later.

While the default behaviour is reasonable, there are cases where it would be useful to extend this logic, and perhaps not use class names, or enhance that with more context that the collectors could provide. This could be achieved by making the deriveCollectorName method protected.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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