public class TimeStampedCounterValue extends Object implements Serializable
Constructor and Description |
---|
TimeStampedCounterValue(long timestamp,
long value)
Constructor accepting the value of both timestamp and the counter value.
|
Modifier and Type | Method and Description |
---|---|
long |
getCounterValue()
Get the counter value
|
long |
getTimestamp()
Get value of the timestamp
|
String |
toString() |
public TimeStampedCounterValue(long timestamp, long value)
timestamp
- value
- Copyright 2001-2019, Terracotta, Inc.