public class CDPStatusBlock extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) long | offsetByte offset within file |
(package private) double | primary_valuePrimary value |
(package private) double | secondary_valueSecondary value |
(package private) long | sizeSize of block in bytes |
(package private) int | unknownDatapointsNumber of unknown datapoints |
(package private) double | valueValue of this consolidated data point |
| Constructor and Description |
|---|
CDPStatusBlock(RRDFile file)Constructs a CDP status block by reading from an RRD file. |
| Modifier and Type | Method and Description |
|---|---|
int | getUnknownDatapoints()Returns the number of unknown primary data points that were integrated. |
double | getValue()Returns the value of this consolidated data point. |
String | toString()Returns a summary the contents of this CDP status block. |
(package private) void | toXml(PrintStream s)Writes the CDP status block as XML to the given print stream. |
final long offset
final double primary_value
final double secondary_value
final long size
final int unknownDatapoints
final double value
CDPStatusBlock(RRDFile file)
file - the RRD file to read frompublic int getUnknownDatapoints()
public double getValue()
public String toString()
void toXml(PrintStream s)
s - the print stream to write to