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: [email protected]
For additional commands, e-mail: [email protected]