public class

RRDFile

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

Class Overview

This class is a quick hack to read information from an RRD file. Writing to RRD files is not currently supported. As I said, this is a quick hack. Some thought should be put into the overall design of the file IO.

Currently this can read RRD files that were generated on Solaris (Sparc) and Linux (x86).

Summary

Constants
int CF_NAM_SIZE
String COOKIE
int DST_SIZE
int DS_NAM_SIZE
double FLOAT_COOKIE
byte[] FLOAT_COOKIE_BIG_ENDIAN
byte[] FLOAT_COOKIE_LITTLE_ENDIAN
int LAST_DS_LEN
String VERSION
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int CF_NAM_SIZE

Constant Value: 20 (0x00000014)

public static final String COOKIE

Constant Value: "RRD"

public static final int DST_SIZE

Constant Value: 20 (0x00000014)

public static final int DS_NAM_SIZE

Constant Value: 20 (0x00000014)

public static final double FLOAT_COOKIE

Constant Value: 8.642135E130

public static final byte[] FLOAT_COOKIE_BIG_ENDIAN

public static final byte[] FLOAT_COOKIE_LITTLE_ENDIAN

public static final int LAST_DS_LEN

Constant Value: 30 (0x0000001e)

public static final String VERSION

Constant Value: "0001"