public class

Archive

extends Object
java.lang.Object
   ↳ org.rrd4j.core.jrrd.Archive

Class Overview

Instances of this class model an archive section of an RRD file.

Summary

Public Methods
CDPStatusBlock getCDPStatusBlock(int index)
Returns the CDPStatusBlock at the specified position in this archive.
Iterator<CDPStatusBlock> getCDPStatusBlocks()
Returns an iterator over the CDP status blocks in this archive in proper sequence.
int getPdpCount()
Returns the number of primary data points required for a consolidated data point in this archive.
int getRowCount()
Returns the number of entries in this archive.
ConsolidationFunctionType getType()
Returns the type of function used to calculate the consolidated data point.
double[][] getValues()
double getXff()
Returns the X-Files Factor for this archive.
String toString()
Returns a summary the contents of this archive.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public CDPStatusBlock getCDPStatusBlock (int index)

Returns the CDPStatusBlock at the specified position in this archive.

Parameters
index index of CDPStatusBlock to return.
Returns
  • the CDPStatusBlock at the specified position in this archive.

public Iterator<CDPStatusBlock> getCDPStatusBlocks ()

Returns an iterator over the CDP status blocks in this archive in proper sequence.

Returns
  • an iterator over the CDP status blocks in this archive in proper sequence.
See Also

public int getPdpCount ()

Returns the number of primary data points required for a consolidated data point in this archive.

Returns
  • the number of primary data points required for a consolidated data point in this archive.

public int getRowCount ()

Returns the number of entries in this archive.

Returns
  • the number of entries in this archive.

public ConsolidationFunctionType getType ()

Returns the type of function used to calculate the consolidated data point.

Returns
  • the type of function used to calculate the consolidated data point.

public double[][] getValues ()

Throws
IOException

public double getXff ()

Returns the X-Files Factor for this archive.

Returns
  • the X-Files Factor for this archive.

public String toString ()

Returns a summary the contents of this archive.

Returns
  • a summary of the information contained in this archive.