public class PDPStatusBlock extends Object
Modifier and Type | Field and Description |
---|---|
(package private) String |
lastReading |
(package private) long |
offset |
(package private) long |
size |
(package private) int |
unknownSeconds |
(package private) double |
value |
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.
|
long offset
long size
String lastReading
int unknownSeconds
double value
PDPStatusBlock(RRDFile file) throws IOException, RrdException
IOException
RrdException
public String getLastReading()
public double getValue()
public int getUnknownSeconds()