Chetan Mehrotra created OAK-3823:
------------------------------------

             Summary: Expose the count maintained by various stats
                 Key: OAK-3823
                 URL: https://issues.apache.org/jira/browse/OAK-3823
             Project: Jackrabbit Oak
          Issue Type: Task
          Components: core
            Reporter: Chetan Mehrotra
            Assignee: Chetan Mehrotra
            Priority: Minor
             Fix For: 1.3.13


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

# Counter - Counter value
# Meter - Sum of all mark calls
# Timer - Number of times timer is invoked
# 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to