public class FrequencyStat extends Object
Constructor and Description |
---|
FrequencyStat(String name,
String description,
String group,
long[] periods) |
Modifier and Type | Method and Description |
---|---|
void |
coalesceStats()
coalesce all the stats
|
boolean |
equals(Object obj) |
void |
eventOccurred()
update all of the frequencies for the various periods
|
String |
getDescription() |
long |
getEventCount() |
long |
getFrequency() |
Frequency |
getFrequency(long period) |
String |
getGroupName() |
String |
getName() |
long[] |
getPeriods() |
int |
hashCode() |
public void eventOccurred()
public void coalesceStats()
public String getName()
public String getGroupName()
public String getDescription()
public long[] getPeriods()
public Frequency getFrequency(long period)
public long getEventCount()
public long getFrequency()