| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public | TimeStampedCounterValue(long timestamp, long value)
Constructor accepting the value of both timestamp and the counter value. |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | |
| public String |
| counterValue | back to summary |
|---|---|
| private final long counterValue | |
| timestamp | back to summary |
|---|---|
| private final long timestamp | |
| TimeStampedCounterValue | back to summary |
|---|---|
| public TimeStampedCounterValue(long timestamp, long value) Constructor accepting the value of both timestamp and the counter value. | |
| getCounterValue | back to summary |
|---|---|
| public long getCounterValue() Get the counter value
| |
| getTimestamp | back to summary |
|---|---|
| public long getTimestamp() Get value of the timestamp
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |