Package org.rrd4j.core.jrrd
Class CDPStatusBlock
- java.lang.Object
-
- org.rrd4j.core.jrrd.CDPStatusBlock
-
public class CDPStatusBlock extends Object
Instances of this class model the consolidation data point status from an RRD file.- Version:
- $Revision: 1.1 $
- Author:
- Ciaran Treanor
-
-
Field Summary
Fields Modifier and Type Field Description (package private) longoffsetByte offset within file(package private) doubleprimary_value(package private) doublesecondary_value(package private) longsizeSize of block in bytes(package private) intunknownDatapoints(package private) doublevalue
-
Constructor Summary
Constructors Constructor Description CDPStatusBlock(RRDFile file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetUnknownDatapoints()Returns the number of unknown primary data points that were integrated.doublegetValue()Returns the value of this consolidated data point.StringtoString()Returns a summary the contents of this CDP status block.(package private) voidtoXml(PrintStream s)
-
-
-
Constructor Detail
-
CDPStatusBlock
CDPStatusBlock(RRDFile file) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getUnknownDatapoints
public int getUnknownDatapoints()
Returns the number of unknown primary data points that were integrated.- Returns:
- the number of unknown primary data points that were integrated.
-
getValue
public double getValue()
Returns the value of this consolidated data point.- Returns:
- the value of this consolidated data point.
-
toXml
void toXml(PrintStream s)
-
-