public class TimeStampedCounterValue
extends java.lang.Object
implements java.io.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
|
java.lang.String |
toString() |
public TimeStampedCounterValue(long timestamp,
long value)
timestamp - value - public long getCounterValue()
public long getTimestamp()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright IBM Corp. 2024, 2025