public class AtomicRateStatistic extends Object
Constructor and Description |
---|
AtomicRateStatistic(long averagePeriod,
TimeUnit unit)
Create an AtomicRateStatistic instance with the given average period.
|
public AtomicRateStatistic(long averagePeriod, TimeUnit unit)
averagePeriod
- average periodunit
- period time unitpublic void event()
public long getCount()
public float getRate()
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.