From 40e6d7a7804c785cebd73470ea7a2d3d7d4273c2 Mon Sep 17 00:00:00 2001
From: Igor Sfiligoi
This is the main class of the package. It is also the only class the user ever needs to explicitly instantiate.
-The RRDFile constructor has a single argument:
+The RRDFile constructor has two arguments (only one required):
A binary file object.
Any object implementing an interface providing the following @@ -64,10 +64,12 @@ the user ever needs to explicitly instantiate.
The binaryXHR module, provided with this package, provides the class BinaryFile that implements this interface.
-If the binary file is not a proper RRD file, an InvalidRRD exception will be thrown.
+Options object (optional)
+Currently with no semantics; defined for future expandability only.
+This class also implements the following methods:
This class implements the methods needed to access the information about a RRD diff --git a/doc/lib/rrdMultiFile_js.html b/doc/lib/rrdMultiFile_js.html index 1b66ee3..ce75aad 100644 --- a/doc/lib/rrdMultiFile_js.html +++ b/doc/lib/rrdMultiFile_js.html @@ -50,12 +50,20 @@ the user ever needs to explicitly instantiate.
A list of similar RRDFile
objects.
They must all have the same DSes and the same RRAs.
A boolean (default=true) – This value defines how to treat - undefined values. If true, they are counted as zeros and the sum +
An options object - If defined, it can contain any of the following: +
For backwards compatibility, a boolean value is intrpreted as treat_undefined_as_zero
This class implements the same interface as RRDFile.
+This class implements the same interface as RRDRRA.