public class UnlockedRateStatistic extends Object
Constructor and Description |
---|
UnlockedRateStatistic(long averagePeriod,
TimeUnit unit)
Create an UnlockedRateStatistic instance with the given average period.
|
public UnlockedRateStatistic(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.