|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.util.counter.sampled.TimeStampedCounterValue
public class TimeStampedCounterValue
A counter value at a particular time instance
Constructor Summary | |
---|---|
TimeStampedCounterValue(long timestamp,
long value)
Constructor accepting the value of both timestamp and the counter value. |
Method Summary | |
---|---|
long |
getCounterValue()
Get the counter value |
long |
getTimestamp()
Get value of the timestamp |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TimeStampedCounterValue(long timestamp, long value)
timestamp
- value
- Method Detail |
---|
public long getCounterValue()
public long getTimestamp()
public String toString()
toString
in class Object
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |