peakRate
peakRate counter unit test for logic plus one thread-based unit test
refactored to bucket approach
refactored to bucket approach
refactored to bucket approach
refactored to bucket approach
refactored to bucket approach
refactored to bucket approach, added optimization to trim un-needed buckets
bugfix
remove unused imports
bug fix, key changed from AtomicLong to Long
bug fix, key changed from AtomicLong to Long
added ctor params to ConcurrentHashMap
clean up
clean up
trim buckets only when new bucket is added
AtomicLongArray based interval counter
updated test for change to PeakRateCounter increment now trims buckets only when new bucket created
unit tests for AtomicLongArray based PeakRateIntervalCounter
Renamed PeakRateIntervalCounter to PeakRateCounter and incorporated changes from previous review