|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rrd4j.core.jrrd.Header
public class Header
Instances of this class model the header section of an RRD file.
Field Summary | |
---|---|
static int |
CF_NAM_SIZE
|
static String |
COOKIE
|
static int |
DS_NAM_SIZE
|
static int |
DST_SIZE
|
static byte[] |
FLOAT_COOKIE_BIG_ENDIAN
|
static byte[] |
FLOAT_COOKIE_LITTLE_ENDIAN
|
static int |
LAST_DS_LEN
|
static int |
MAX_SUPPORTED_VERSION
|
static String |
UNDEFINED_VERSION
|
static int |
UNDEFINED_VERSION_AS_INT
|
static int |
VERSION_WITH_LAST_UPDATE_SEC
|
Method Summary | |
---|---|
int |
getDSCount()
Returns the number of DataSource s in the database. |
int |
getPDPStep()
Returns the primary data point interval in seconds. |
int |
getRRACount()
Returns the number of Archive s 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DS_NAM_SIZE
public static final int DST_SIZE
public static final int CF_NAM_SIZE
public static final int LAST_DS_LEN
public static final String COOKIE
public static final int MAX_SUPPORTED_VERSION
public static final String UNDEFINED_VERSION
public static final int UNDEFINED_VERSION_AS_INT
public static final int VERSION_WITH_LAST_UPDATE_SEC
public static final byte[] FLOAT_COOKIE_BIG_ENDIAN
public static final byte[] FLOAT_COOKIE_LITTLE_ENDIAN
Method Detail |
---|
public String getVersion()
public int getVersionAsInt()
public int getDSCount()
DataSource
s in the database.
DataSource
s in the database.public int getRRACount()
Archive
s in the database.
Archive
s in the database.public int getPDPStep()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |