void |
RrdDef.addArchive(String rrdToolArcDef) |
Adds single archive to RRD definition from a RRDTool-like
archive definition string.
|
void |
RrdDef.addArchive(String consolFun,
double xff,
int steps,
int rows) |
Adds single archive definition by specifying its consolidation function, X-files factor,
number of steps and rows.
|
void |
RrdDef.addArchive(ArcDef arcDef) |
Adds single archive definition represented with object of class ArcDef .
|
void |
RrdDef.addArchive(ArcDef[] arcDefs) |
Adds archive definitions to RRD definition in bulk.
|
static void |
RrdToolkit.addArchive(String sourcePath,
String destPath,
ArcDef newArchive) |
Creates a new RRD file with one more archive in it.
|
static void |
RrdToolkit.addArchive(String sourcePath,
ArcDef newArchive,
boolean saveBackup) |
Adds one more archive to a RRD file.
|
void |
RrdDef.addDatasource(String rrdToolDsDef) |
Adds single datasource to RRD definition from a RRDTool-like
datasource definition string.
|
void |
RrdDef.addDatasource(String dsName,
String dsType,
long heartbeat,
double minValue,
double maxValue) |
Adds single datasource to RRD definition by specifying its data source name, source type,
heartbeat, minimal and maximal value.
|
void |
RrdDef.addDatasource(DsDef dsDef) |
Adds single datasource definition represented with object of class DsDef .
|
void |
RrdDef.addDatasource(DsDef[] dsDefs) |
Adds data source definitions to RRD definition in bulk.
|
static void |
RrdToolkit.addDatasource(String sourcePath,
String destPath,
DsDef newDatasource) |
Creates a new RRD file with one more datasource in it.
|
static void |
RrdToolkit.addDatasource(String sourcePath,
DsDef newDatasource,
boolean saveBackup) |
Adds one more datasource to a RRD file.
|
(package private) void |
RrdDb.archive(Datasource datasource,
double value,
long numUpdates) |
|
void |
Archive.copyStateTo(RrdUpdater other) |
Copies object's internal state to another Archive object.
|
void |
ArcState.copyStateTo(RrdUpdater other) |
Copies object's internal state to another ArcState object.
|
void |
Datasource.copyStateTo(RrdUpdater other) |
Copies object's internal state to another Datasource object.
|
void |
Header.copyStateTo(RrdUpdater other) |
Copies object's internal state to another Header object.
|
void |
Robin.copyStateTo(RrdUpdater other) |
Copies object's internal state to another Robin object.
|
void |
RrdDb.copyStateTo(RrdUpdater other) |
Copies object's internal state to another RrdDb object.
|
void |
RrdUpdater.copyStateTo(RrdUpdater updater) |
|
FetchRequest |
RrdDb.createFetchRequest(String consolFun,
long fetchStart,
long fetchEnd) |
Prepares fetch request to be executed on this RRD.
|
FetchRequest |
RrdDb.createFetchRequest(String consolFun,
long fetchStart,
long fetchEnd,
long resolution) |
Prepares fetch request to be executed on this RRD.
|
void |
RrdDb.dumpXml(String filename) |
Dumps internal RRD state to XML file.
|
String |
RrdDb.exportXml() |
This method is just an alias for getXml method.
|
void |
RrdDb.exportXml(String filename) |
|
(package private) FetchData |
Archive.fetchData(FetchRequest request) |
|
FetchData |
FetchRequest.fetchData() |
Returns data from the underlying RRD and puts it in a single
FetchData object.
|
(package private) FetchData |
RrdDb.fetchData(FetchRequest request) |
|
(package private) ArcDef |
RrdDef.findArchive(String consolFun,
int steps) |
|
Archive |
RrdDb.findMatchingArchive(FetchRequest request) |
|
static int |
RrdToolkit.forceZerosForNans(String sourcePath,
String dsName) |
Updates single or all datasource names in the specified RRD file
by appending '!' (if not already present).
|
double |
FetchData.get95Percentile(String dsName) |
Used by ISPs which charge for bandwidth utilization on a "95th percentile" basis.
|
(package private) abstract double |
DataImporter.getAccumValue(int dsIndex) |
|
(package private) double |
XmlReader.getAccumValue(int dsIndex) |
|
double |
FetchData.getAggregate(String dsName,
String consolFun) |
Returns single aggregated value from the fetched data for a single datasource.
|
double |
FetchData.getAggregate(String dsName,
String consolFun,
String rpnExpression) |
Deprecated.
|
Aggregates |
FetchData.getAggregates(String dsName) |
Returns all aggregated values (MIN, MAX, LAST, FIRST, AVERAGE or TOTAL) calculated from the fetched data
for a single datasource.
|
(package private) abstract int |
DataImporter.getArcCount() |
|
(package private) int |
RrdToolReader.getArcCount() |
|
int |
RrdDb.getArcIndex(String consolFun,
int steps) |
Returns index of Archive object with the given consolidation function and the number
of steps.
|
static String |
Util.Xml.getChildValue(Node parentNode,
String childName) |
|
static String |
Util.Xml.getChildValue(Node parentNode,
String childName,
boolean trim) |
|
protected String |
XmlTemplate.getChildValue(Node parentNode,
String childName) |
|
protected String |
XmlTemplate.getChildValue(Node parentNode,
String childName,
boolean trim) |
|
static boolean |
Util.Xml.getChildValueAsBoolean(Node parentNode,
String childName) |
|
protected boolean |
XmlTemplate.getChildValueAsBoolean(Node parentNode,
String childName) |
|
static double |
Util.Xml.getChildValueAsDouble(Node parentNode,
String childName) |
|
protected double |
XmlTemplate.getChildValueAsDouble(Node parentNode,
String childName) |
|
static int |
Util.Xml.getChildValueAsInt(Node parentNode,
String childName) |
|
protected int |
XmlTemplate.getChildValueAsInt(Node parentNode,
String childName) |
|
static long |
Util.Xml.getChildValueAsLong(Node parentNode,
String childName) |
|
protected long |
XmlTemplate.getChildValueAsLong(Node parentNode,
String childName) |
|
(package private) abstract String |
DataImporter.getConsolFun(int arcIndex) |
|
(package private) String |
XmlReader.getConsolFun(int arcIndex) |
|
(package private) abstract int |
DataImporter.getDsCount() |
|
int |
RrdDb.getDsIndex(String dsName) |
Returns internal index number for the given datasource name.
|
(package private) abstract String |
DataImporter.getDsName(int dsIndex) |
|
(package private) String |
XmlReader.getDsName(int dsIndex) |
|
(package private) abstract String |
DataImporter.getDsType(int dsIndex) |
|
(package private) String |
XmlReader.getDsType(int dsIndex) |
|
(package private) long |
DataImporter.getEstimatedSize() |
|
static RrdBackendFactory |
RrdBackendFactory.getFactory(String name) |
Returns backend factory for the given backend factory name.
|
static Node |
Util.Xml.getFirstChildNode(Node parentNode,
String childName) |
|
protected static Node |
XmlTemplate.getFirstChildNode(Node parentNode,
String childName) |
|
(package private) abstract long |
DataImporter.getHeartbeat(int dsIndex) |
|
(package private) long |
XmlReader.getHeartbeat(int dsIndex) |
|
static RrdDbPool |
RrdDbPool.getInstance() |
Creates a single instance of the class on the first call, or returns already existing one.
|
double |
RrdDb.getLastDatasourceValue(String dsName) |
Returns the last stored value for the given datasource.
|
(package private) abstract long |
DataImporter.getLastUpdateTime() |
|
(package private) long |
XmlReader.getLastUpdateTime() |
|
(package private) abstract double |
DataImporter.getLastValue(int dsIndex) |
|
(package private) double |
XmlReader.getLastValue(int dsIndex) |
|
(package private) abstract double |
DataImporter.getMaxValue(int dsIndex) |
|
(package private) double |
XmlReader.getMaxValue(int dsIndex) |
|
(package private) abstract double |
DataImporter.getMinValue(int dsIndex) |
|
(package private) double |
XmlReader.getMinValue(int dsIndex) |
|
(package private) abstract long |
DataImporter.getNanSeconds(int dsIndex) |
|
(package private) long |
XmlReader.getNanSeconds(int dsIndex) |
|
static Element |
Util.Xml.getRootElement(File xmlFile) |
|
static Element |
Util.Xml.getRootElement(String xmlString) |
|
static Element |
Util.Xml.getRootElement(InputSource inputSource) |
|
(package private) abstract int |
DataImporter.getRows(int arcIndex) |
|
(package private) int |
RrdToolReader.getRows(int arcIndex) |
|
(package private) int |
XmlReader.getRows(int arcIndex) |
|
double |
FetchData.getRpn95Percentile(String rpnExpression) |
|
double |
FetchData.getRpnAggregate(String rpnExpression,
String consolFun) |
Returns aggregated value for a set of values calculated by applying an RPN expression to the
fetched data.
|
Aggregates |
FetchData.getRpnAggregates(String rpnExpression) |
Returns all aggregated values for a set of values calculated by applying an RPN expression to the
fetched data.
|
double[] |
FetchData.getRpnValues(String rpnExpression) |
Returns a set of values created by applying RPN expression to the fetched data.
|
RrdDef |
RrdDb.getRrdDef() |
Returns RRD definition object which can be used to create new RRD
with the same creation parameters but with no data in it.
|
RrdDef |
RrdDefTemplate.getRrdDef() |
Returns RrdDef object constructed from the underlying XML template.
|
(package private) abstract double |
DataImporter.getStateAccumValue(int arcIndex,
int dsIndex) |
|
(package private) double |
RrdToolReader.getStateAccumValue(int arcIndex,
int dsIndex) |
|
(package private) double |
XmlReader.getStateAccumValue(int arcIndex,
int dsIndex) |
|
(package private) abstract int |
DataImporter.getStateNanSteps(int arcIndex,
int dsIndex) |
|
(package private) int |
RrdToolReader.getStateNanSteps(int arcIndex,
int dsIndex) |
|
(package private) int |
XmlReader.getStateNanSteps(int arcIndex,
int dsIndex) |
|
(package private) abstract long |
DataImporter.getStep() |
|
(package private) long |
XmlReader.getStep() |
|
(package private) abstract int |
DataImporter.getSteps(int arcIndex) |
|
(package private) int |
XmlReader.getSteps(int arcIndex) |
|
static long |
Util.getTimestamp(String atStyleTimeSpec) |
Parses at-style time specification and returns the corresponding timestamp.
|
static long[] |
Util.getTimestamps(String atStyleTimeSpec1,
String atStyleTimeSpec2) |
Parses two related at-style time specifications and returns corresponding timestamps.
|
protected Paint |
XmlTemplate.getValueAsColor(Node parentNode) |
|
(package private) abstract double[] |
DataImporter.getValues(int arcIndex,
int dsIndex) |
|
(package private) abstract double[] |
DataImporter.getValues(int arcIndex,
int dsIndex) |
|
double[] |
FetchData.getValues(String dsName) |
Returns all archived values for a single datasource.
|
(package private) double[] |
RrdToolReader.getValues(int arcIndex,
int dsIndex) |
|
(package private) double[] |
RrdToolReader.getValues(int arcIndex,
int dsIndex) |
|
(package private) double[] |
XmlReader.getValues(int arcIndex,
int dsIndex) |
|
(package private) abstract String |
DataImporter.getVersion() |
|
(package private) String |
XmlReader.getVersion() |
|
(package private) abstract double |
DataImporter.getXff(int arcIndex) |
|
(package private) double |
XmlReader.getXff(int arcIndex) |
|
String |
RrdDb.getXml() |
Returns string representing internal RRD state in XML format.
|
static Paint |
Util.parseColor(String valueStr) |
Parses input string as color.
|
(package private) void |
Datasource.process(long newTime,
double newValue) |
|
static void |
RrdBackendFactory.registerAndSetAsDefaultFactory(RrdBackendFactory factory) |
Registers new (custom) backend factory within the JRobin framework and sets this
factory as the default.
|
static void |
RrdBackendFactory.registerFactory(RrdBackendFactory factory) |
Registers new (custom) backend factory within the JRobin framework.
|
(package private) void |
DataImporter.release() |
|
void |
RrdDbPool.release(RrdDb rrdDb) |
Releases RrdDb reference previously obtained from the pool.
|
(package private) void |
RrdDef.removeArchive(String consolFun,
int steps) |
|
static void |
RrdToolkit.removeArchive(String sourcePath,
String consolFun,
int steps,
boolean saveBackup) |
Removes one archive from a RRD file.
|
static void |
RrdToolkit.removeArchive(String sourcePath,
String destPath,
String consolFun,
int steps) |
Creates a new RRD file with one archive removed.
|
(package private) void |
RrdDef.removeDatasource(String dsName) |
|
static void |
RrdToolkit.removeDatasource(String sourcePath,
String dsName,
boolean saveBackup) |
Removes single datasource from a RRD file.
|
static void |
RrdToolkit.removeDatasource(String sourcePath,
String destPath,
String dsName) |
Creates a new RRD file with one datasource removed.
|
static void |
RrdToolkit.renameDatasource(String sourcePath,
String oldDsName,
String newDsName) |
Renames single datasource in the given RRD file.
|
RrdDb |
RrdDbPool.requestRrdDb(String path) |
Requests a RrdDb reference for the given RRD file path.
|
RrdDb |
RrdDbPool.requestRrdDb(String path,
String sourcePath) |
Requests a RrdDb reference for the given path.
|
RrdDb |
RrdDbPool.requestRrdDb(String path,
String sourcePath) |
Requests a RrdDb reference for the given path.
|
RrdDb |
RrdDbPool.requestRrdDb(RrdDef rrdDef) |
Requests a RrdDb reference for the given RRD file definition object.
|
static void |
RrdToolkit.resizeArchive(String sourcePath,
String consolFun,
int numSteps,
int newRows,
boolean saveBackup) |
Modifies existing RRD file, by resizing its chosen archive.
|
static void |
RrdToolkit.resizeArchive(String sourcePath,
String destPath,
String consolFun,
int numSteps,
int newRows) |
Creates new RRD file based on the existing one, but with a different
size (number of rows) for a single archive.
|
Sample |
Sample.set(String timeAndValues) |
Sets sample timestamp and data source values in a fashion similar to RRDTool.
|
void |
Sample.setAndUpdate(String timeAndValues) |
Creates sample with the timestamp and data source values supplied
in the argument string and stores sample in the corresponding RRD.
|
static void |
RrdToolkit.setArcXff(String sourcePath,
String consolFun,
int steps,
double newXff) |
Sets single archive's X-files factor to a new value.
|
static void |
RrdBackendFactory.setDefaultFactory(String factoryName) |
Replaces the default backend factory with a new one.
|
static void |
RrdDb.setDefaultFactory(String factoryName) |
Sets default backend factory to be used.
|
static void |
RrdToolkit.setDsHeartbeat(String sourcePath,
int dsIndex,
long newHeartbeat) |
Sets datasource heartbeat to a new value.
|
static void |
RrdToolkit.setDsHeartbeat(String sourcePath,
String datasourceName,
long newHeartbeat) |
Sets datasource heartbeat to a new value.
|
static void |
RrdToolkit.setDsMaxValue(String sourcePath,
String datasourceName,
double newMaxValue,
boolean filterArchivedValues) |
Sets datasource max value to a new value.
|
static void |
RrdToolkit.setDsMinMaxValue(String sourcePath,
String datasourceName,
double newMinValue,
double newMaxValue,
boolean filterArchivedValues) |
Updates valid value range for the given datasource.
|
static void |
RrdToolkit.setDsMinValue(String sourcePath,
String datasourceName,
double newMinValue,
boolean filterArchivedValues) |
Sets datasource min value to a new value
|
void |
Datasource.setDsName(String newDsName) |
Sets datasource name to a new value
|
void |
Datasource.setDsType(String newDsType) |
|
void |
Datasource.setHeartbeat(long heartbeat) |
Sets datasource heartbeat to a new value.
|
void |
Datasource.setMaxValue(double maxValue,
boolean filterArchivedValues) |
Sets maximum allowed value for this datasource.
|
void |
Datasource.setMinMaxValue(double minValue,
double maxValue,
boolean filterArchivedValues) |
Sets min/max values allowed for this datasource.
|
void |
Datasource.setMinValue(double minValue,
boolean filterArchivedValues) |
Sets minimum allowed value for this datasource.
|
Sample |
Sample.setValue(int i,
double value) |
Sets single datasource value using data source index.
|
Sample |
Sample.setValue(String dsName,
double value) |
Sets single data source value in the sample.
|
void |
Robin.setValues(double[] newValues) |
Updates archived values in bulk.
|
Sample |
Sample.setValues(double[] values) |
Sets some (possibly all) data source values in bulk.
|
void |
Archive.setXff(double xff) |
Sets X-files factor to a new value.
|
static void |
RrdToolkit.split(String sourcePath) |
Splits single RRD file with several datasources into a number of smaller RRD files
with a single datasource in it.
|
(package private) void |
RrdDb.store(Sample sample) |
|
void |
Sample.update() |
Stores sample in the corresponding RRD.
|
(package private) void |
RrdDef.validate() |
|
(package private) void |
Header.validateHeader() |
|
protected void |
XmlTemplate.validateTagsOnlyOnce(Node parentNode,
String[] allowedChildNames) |
|