java.lang.Object | |
↳ | org.rrd4j.core.ArcDef |
Class to represent single archive definition within the RRD. Archive definition consists of the following four elements:
For the complete explanation of all archive definition parameters, see RRDTool's rrdcreate man page
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates new archive definition object. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns string representing archive definition (RRDTool format).
| |||||||||||
Checks if two archive definitions are equal.
| |||||||||||
Returns consolidation function.
| |||||||||||
Returns the number of rows (aggregated values) stored in the archive.
| |||||||||||
Returns the number of primary RRD steps which complete a single archive step.
| |||||||||||
Returns the X-files factor.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates new archive definition object. This object should be passed as argument to
addArchive()
method of
RrdDb
object.
For the complete explanation of all archive definition parameters, see RRDTool's rrdcreate man page
consolFun | Consolidation function. Allowed values are "AVERAGE", "MIN",
"MAX" and "LAST" (these string constants are conveniently defined in the
ConsolFun class). |
---|---|
xff | X-files factor, between 0 and 1. |
steps | Number of archive steps. |
rows | Number of archive rows. |
Returns string representing archive definition (RRDTool format).
Checks if two archive definitions are equal. Archive definitions are considered equal if they have the same number of steps and the same consolidation function. It is not possible to create RRD with two equal archive definitions.
obj | Archive definition to compare with. |
---|
true
if archive definitions are equal,
false
otherwise.
Returns the number of rows (aggregated values) stored in the archive.
Returns the number of primary RRD steps which complete a single archive step.
Returns the X-files factor.