Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-6936

Parser should track statistics during parsing

XMLWordPrintable

        Our parser supports skipping events with no metadata (JMC-6846). It would be great I the parser supported exposing details around the parsing, such as how many events were parsed per event type (and their total size), and how many events that were skipped, per event id.

        To do this we need to break the clean abstraction somewhat. One, perhaps not so horrid, way to do this, would be to add a new interface that implementations of IItemCollection can optionally implement. This would at least not pollute the IItemCollection interface with JFR specific stuff, but it would require an instanceof/cast where it is used.

              jpbempel Jean-Philippe Bempel
              hirt Marcus Hirt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: