| Modifier and Type | Field and Description |
|---|---|
(package private) int | dsCountNumber of data sources |
(package private) int | pdpStepPrimary data point step |
(package private) int | rraCountNumber of archives within file |
(package private) String | versionthe database version string |
CF_NAM_SIZE, COOKIE, DS_NAM_SIZE, DST_SIZE, LAST_DS_LEN, MAX_SUPPORTED_VERSION, SIZE_OF_DOUBLE, UNDEFINED_VERSION, UNDEFINED_VERSION_AS_INT, VERSION_WITH_LAST_UPDATE_SEC| Constructor and Description |
|---|
Header(RRDFile file)Constructs a Header from the RRD file. |
| Modifier and Type | Method and Description |
|---|---|
int | getDSCount()Returns the number of DataSources in the database. |
int | getPDPStep()Returns the primary data point interval in seconds. |
int | getRRACount()Returns the number of Archives in the database. |
String | getVersion()Returns the version of the database. |
int | getVersionAsInt()Returns the version of the database as an integer. |
String | toString()Returns a summary the contents of this header. |
final int dsCount
final int pdpStep
final int rraCount
final String version
Header(RRDFile file) throws IOException
file - the RRD file to read fromIOExceptionpublic int getDSCount()
DataSources in the database.DataSources in the database.public int getPDPStep()
public int getRRACount()
Archives in the database.Archives in the database.public String getVersion()
public int getVersionAsInt()