| Modifier and Type | Field and Description |
|---|---|
(package private) int |
dsCount
Number of data sources
|
(package private) int |
pdpStep |
(package private) int |
rraCount
Number of archives within file
|
(package private) String |
version |
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| 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
IOExceptionpublic 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()