public class Snapshot
extends java.lang.Object
| Constructor and Description |
|---|
Snapshot(java.lang.Number value)
Create snapshot instance.
|
Snapshot(java.lang.Number value,
long recordTime)
Create snapshot instance.
|
Snapshot(java.lang.Number value,
long recordTime,
Source source)
Create snapshot instance.
|
Snapshot(java.lang.Number value,
Source source)
Create snapshot instance.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getRecordTime()
The time snapshot is recored/related at/to.
|
Source |
getSource()
Source this statistic is related to.
|
java.lang.Number |
getValue()
Return the value of a specified component.
|
java.lang.String |
toString() |
public Snapshot(java.lang.Number value)
null and the record time is the current time.value - sample valuerecordTime - record time.public Snapshot(java.lang.Number value,
Source source)
value - sample valuesource - source this snapshot is related to.public Snapshot(java.lang.Number value,
long recordTime)
null.value - sample valuerecordTime - record time.public Snapshot(java.lang.Number value,
long recordTime,
Source source)
value - sample valuerecordTime - record time.source - source this snapshot is related to.public java.lang.Number getValue()
public long getRecordTime()
public Source getSource()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.