Constantspublic class Header extends Object implements Constants
| Modifier and Type | Field | Description |
|---|---|---|
(package private) int |
dsCount |
|
(package private) int |
intVersion |
|
(package private) static long |
offset |
|
(package private) int |
pdpStep |
|
(package private) int |
rraCount |
|
(package private) long |
size |
|
(package private) String |
version |
CF_NAM_SIZE, COOKIE, DS_NAM_SIZE, DST_SIZE, FLOAT_COOKIE, FLOAT_COOKIE_BIG_ENDIAN, FLOAT_COOKIE_LITTLE_ENDIAN, LAST_DS_LEN, VERSION, VERSION3| Modifier and Type | Method | Description |
|---|---|---|
int |
getDSCount() |
Returns the number of
DataSources in the database. |
int |
getIntVersion() |
|
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.
|
String |
toString() |
Returns a summary the contents of this header.
|
static final long offset
long size
String version
int intVersion
int dsCount
int rraCount
int pdpStep
Header(RRDFile file) throws IOException, RrdException
IOExceptionRrdExceptionpublic String getVersion()
public int getIntVersion()
public int getDSCount()
DataSources in the database.DataSources in the database.public int getRRACount()
Archives in the database.Archives in the database.public int getPDPStep()