public class Counter extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
getAverageClicksPerTime(long timeInMilli) |
int |
getCount() |
String |
getLabel() |
long |
getLastTime() |
DateDifference |
getLastTimeDifference() |
long |
getTimeSinceLast() |
long |
getTimeSinceStart() |
void |
inc() |
void |
reset() |
static Counter[] |
toArray(List counters) |
String |
toString() |
public Counter()
public Counter(String label)
public void inc()
public void reset()
public int getCount()
public long getLastTime()
public int getAverageClicksPerTime(long timeInMilli)
public long getTimeSinceLast()
public long getTimeSinceStart()
public DateDifference getLastTimeDifference()
public String getLabel()
Copyright © 2023. All rights reserved.