Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-10506

ProfilerCollector to support customizing how name is derived

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.2
    • modules/sandbox
    • None
    • New

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lucacavanna Luca Cavanna
              Votes:
              0 Vote for this issue
              Watchers:
              3 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