Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3823

Expose the count maintained by various stats

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.13, 1.4
    • core
    • None

    Description

      All Metric instance implement the Counting interface which exposes the count for underlying metrics

      1. Counter - Counter value
      2. Meter - Sum of all mark calls
      3. Timer - Number of times timer is invoked
      4. Histrogram - Number of times timer is invoked

      This would avoid maintaining a duplicate sum variable for say maintaining the sum of all data upload recorded in a meter

      Attachments

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: