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
(package private) final long
(package private) final double
(package private) final double
(package private) final long
(package private) final int
(package private) final double
-
Constructor Summary
Constructors
-
Method Summary
int
Returns the number of unknown primary data points that were integrated.
double
Returns the value of this consolidated data point.
Returns a summary the contents of this CDP status block.
(package private) void
-
Field Details
-
offset
final long offset
Byte offset within file
-
size
final long size
Size of block in bytes
-
unknownDatapoints
final int unknownDatapoints
-
-
secondary_value
final double secondary_value
-
primary_value
final double primary_value
-
-
Method Details
-
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.
-
-
toString
Returns a summary the contents of this CDP status block.
- Overrides:
toString
in class Object
- Returns:
- a summary of the information contained in the CDP status block.