public class AccumulatedValue
extends java.lang.Object
| Constructor and Description |
|---|
AccumulatedValue(java.lang.String aValue)
Creates a new accumulated value with now as timestamp.
|
AccumulatedValue(java.lang.String aValue,
long aTimestamp)
Creates a new AccumulatedValue.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getISO8601Timestamp()
Returns the ISO8601 Timestamp.
|
long |
getTimestamp() |
java.lang.String |
getValue() |
java.lang.String |
toString() |
public AccumulatedValue(java.lang.String aValue,
long aTimestamp)
aValue - the value for the timestamp.aTimestamp - the timestamp of the probe.public AccumulatedValue(java.lang.String aValue)
aValue - the value for now.public java.lang.String toString()
toString in class java.lang.Objectpublic long getTimestamp()
public java.lang.String getValue()
public java.lang.String getISO8601Timestamp()
Copyright © 2010-2020 anotheria.net. All Rights Reserved.