public class PDPStatusBlock extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) String | lastReadingthe last reading from the data source |
(package private) int | unknownSecondsnumber of seconds of unknown data |
(package private) double | valuethe current value of the primary data point |
| Constructor and Description |
|---|
PDPStatusBlock(RRDFile file) |
| Modifier and Type | Method and Description |
|---|---|
String | getLastReading()Returns the last reading from the data source. |
int | getUnknownSeconds()Returns the number of seconds of the current primary data point is unknown data. |
double | getValue()Returns the current value of the primary data point. |
String | toString()Returns a summary the contents of this PDP status block. |
final String lastReading
final int unknownSeconds
final double value
PDPStatusBlock(RRDFile file)
file - the RRD file to read frompublic String getLastReading()
public int getUnknownSeconds()
public double getValue()