The addc-statistics library supplies classes for collecting statistics including counters, timers and accumulators and exposing these as MBeans.