|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use RrdException | |
|---|---|
| org.jrobin.cmd | Command line implementation. |
| org.jrobin.core | core JRobin implementation. |
| org.jrobin.core.timespec | |
| org.jrobin.data | JRobin data management. |
| org.jrobin.graph | JRobin graph capabilities. |
| Uses of RrdException in org.jrobin.cmd |
|---|
| Methods in org.jrobin.cmd that throw RrdException | |
|---|---|
static Object |
RrdCommander.execute(String command)
Executes single RRDTool command. |
| Uses of RrdException in org.jrobin.core |
|---|
| Methods in org.jrobin.core that throw RrdException | |
|---|---|
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. |
void |
RrdDef.addArchive(String rrdToolArcDef)
Adds single archive to RRD definition from a RRDTool-like archive definition string. |
static void |
RrdToolkit.addArchive(String sourcePath,
ArcDef newArchive,
boolean saveBackup)
Adds one more archive to a RRD file. |
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. |
static void |
RrdToolkit.addArchive(String sourcePath,
String destPath,
ArcDef newArchive)
Creates a new RRD file with one more archive in it. |
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. |
void |
RrdDef.addDatasource(String rrdToolDsDef)
Adds single datasource to RRD definition from a RRDTool-like datasource definition string. |
static void |
RrdToolkit.addDatasource(String sourcePath,
DsDef newDatasource,
boolean saveBackup)
Adds one more datasource to a RRD file. |
static void |
RrdToolkit.addDatasource(String sourcePath,
String destPath,
DsDef newDatasource)
Creates a new RRD file with one more datasource in it. |
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 |
RrdDb.copyStateTo(org.jrobin.core.RrdUpdater other)
Copies object's internal state to another RrdDb object. |
void |
Robin.copyStateTo(org.jrobin.core.RrdUpdater other)
Copies object's internal state to another Robin object. |
void |
Header.copyStateTo(org.jrobin.core.RrdUpdater other)
Copies object's internal state to another Header object. |
void |
Datasource.copyStateTo(org.jrobin.core.RrdUpdater other)
Copies object's internal state to another Datasource object. |
void |
ArcState.copyStateTo(org.jrobin.core.RrdUpdater other)
Copies object's internal state to another ArcState object. |
void |
Archive.copyStateTo(org.jrobin.core.RrdUpdater other)
Copies object's internal state to another Archive object. |
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)
This method is just an alias for dumpXml(String) method. |
FetchData |
FetchRequest.fetchData()
Returns data from the underlying RRD and puts it in a single FetchData object. |
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. |
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. This method is preserved just for backward compatibility. |
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. |
int |
RrdDb.getArcIndex(String consolFun,
int steps)
Returns index of Archive object with the given consolidation function and the number of steps. |
protected String |
XmlTemplate.getChildValue(Node parentNode,
String childName)
|
static String |
Util.Xml.getChildValue(Node parentNode,
String childName)
|
protected String |
XmlTemplate.getChildValue(Node parentNode,
String childName,
boolean trim)
|
static String |
Util.Xml.getChildValue(Node parentNode,
String childName,
boolean trim)
|
protected boolean |
XmlTemplate.getChildValueAsBoolean(Node parentNode,
String childName)
|
static boolean |
Util.Xml.getChildValueAsBoolean(Node parentNode,
String childName)
|
protected double |
XmlTemplate.getChildValueAsDouble(Node parentNode,
String childName)
|
static double |
Util.Xml.getChildValueAsDouble(Node parentNode,
String childName)
|
protected int |
XmlTemplate.getChildValueAsInt(Node parentNode,
String childName)
|
static int |
Util.Xml.getChildValueAsInt(Node parentNode,
String childName)
|
protected long |
XmlTemplate.getChildValueAsLong(Node parentNode,
String childName)
|
static long |
Util.Xml.getChildValueAsLong(Node parentNode,
String childName)
|
int |
RrdDb.getDsIndex(String dsName)
Returns internal index number for the given datasource name. |
static RrdBackendFactory |
RrdBackendFactory.getFactory(String name)
Returns backend factory for the given backend factory name. |
protected static Node |
XmlTemplate.getFirstChildNode(Node parentNode,
String childName)
|
static Node |
Util.Xml.getFirstChildNode(Node parentNode,
String childName)
|
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. |
static Element |
Util.Xml.getRootElement(File xmlFile)
|
static Element |
Util.Xml.getRootElement(InputSource inputSource)
|
static Element |
Util.Xml.getRootElement(String xmlString)
|
double |
FetchData.getRpn95Percentile(String rpnExpression)
Same as FetchData.get95Percentile(String), but for a set of values calculated with the given
RPN expression. |
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 |
RrdDefTemplate.getRrdDef()
Returns RrdDef object constructed from the underlying XML template. |
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. |
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)
|
double[] |
FetchData.getValues(String dsName)
Returns all archived values for a single datasource. |
String |
RrdDb.getXml()
Returns string representing internal RRD state in XML format. |
static Paint |
Util.parseColor(String valueStr)
Parses input string as color. |
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. |
void |
RrdDbPool.release(RrdDb rrdDb)
Releases RrdDb reference previously obtained from the pool. |
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. |
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(RrdDef rrdDef)
Requests a RrdDb reference for the given RRD file definition object. |
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. |
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 |
RrdDb.setDefaultFactory(String factoryName)
Sets default backend factory to be used. |
static void |
RrdBackendFactory.setDefaultFactory(String factoryName)
Replaces the default backend factory with a new one. |
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. |
Sample |
Sample.setValues(double[] values)
Sets some (possibly all) data source values in bulk. |
void |
Robin.setValues(double[] newValues)
Updates archived 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. |
void |
Sample.update()
Stores sample in the corresponding RRD. |
protected void |
XmlTemplate.validateTagsOnlyOnce(Node parentNode,
String[] allowedChildNames)
|
| Constructors in org.jrobin.core that throw RrdException | |
|---|---|
ArcDef(String consolFun,
double xff,
int steps,
int rows)
Creates new archive definition object. |
|
DsDef(String dsName,
String dsType,
long heartbeat,
double minValue,
double maxValue)
Creates new data source definition object. |
|
RrdDb(RrdDef rrdDef)
Constructor used to create new RRD object from the definition. |
|
RrdDb(RrdDef rrdDef,
RrdBackendFactory factory)
Constructor used to create new RRD object from the definition object but with a storage (backend) different from default. |
|
RrdDb(String path)
Constructor used to open already existing RRD in R/W mode, with a default storage (backend) type (file on the disk). |
|
RrdDb(String path,
boolean readOnly)
Constructor used to open already existing RRD. |
|
RrdDb(String path,
boolean readOnly,
RrdBackendFactory factory)
Constructor used to open already existing RRD backed with a storage (backend) different from default. |
|
RrdDb(String path,
RrdBackendFactory factory)
Constructor used to open already existing RRD in R/W mode with a storage (backend) type different from default. |
|
RrdDb(String rrdPath,
String externalPath)
Constructor used to create RRD files from external file sources. |
|
RrdDb(String rrdPath,
String externalPath,
RrdBackendFactory factory)
Constructor used to create RRD files from external file sources with a backend type different from default. |
|
RrdDef(String path)
Creates new RRD definition object with the given path. |
|
RrdDef(String path,
long step)
Creates new RRD definition object with the given path and step. |
|
RrdDef(String path,
long startTime,
long step)
Creates new RRD definition object with the given path, starting timestamp and step. |
|
RrdDefTemplate(File xmlFile)
Creates RrdDefTemplate object from the file containing XML template. |
|
RrdDefTemplate(InputSource xmlInputSource)
Creates RrdDefTemplate object from any parsable XML input source. |
|
RrdDefTemplate(String xmlString)
Creates RrdDefTemplate object from the string containing XML template. |
|
XmlTemplate(File xmlFile)
|
|
XmlTemplate(InputSource xmlSource)
|
|
XmlTemplate(String xmlString)
|
|
| Uses of RrdException in org.jrobin.core.timespec |
|---|
| Methods in org.jrobin.core.timespec that throw RrdException | |
|---|---|
static Calendar[] |
TimeSpec.getTimes(TimeSpec spec1,
TimeSpec spec2)
Use this static method to resolve relative time references and obtain the corresponding Calendar objects. |
long |
TimeSpec.getTimestamp()
Returns the corresponding timestamp (seconds since Epoch). |
static long[] |
TimeSpec.getTimestamps(TimeSpec spec1,
TimeSpec spec2)
Use this static method to resolve relative time references and obtain the corresponding timestamps (seconds since epoch). |
TimeSpec |
TimeParser.parse()
Parses the input string specified in the constructor. |
| Uses of RrdException in org.jrobin.data |
|---|
| Methods in org.jrobin.data that throw RrdException | |
|---|---|
String |
DataProcessor.dump()
Dumps timestamps and values of all datasources in a tabelar form. |
double |
DataProcessor.get95Percentile(String sourceName)
This method is just an alias for DataProcessor.getPercentile(String) method. |
double |
Aggregates.getAggregate(String consolFun)
Returns single aggregated value for the give consolidation function |
double |
DataProcessor.getAggregate(String sourceName,
String consolFun)
Returns single aggregated value for a single datasource. |
Aggregates |
DataProcessor.getAggregates(String sourceName)
Returns all (MIN, MAX, LAST, FIRST, AVERAGE and TOTAL) aggregated values for a single datasource. |
double |
DataProcessor.getPercentile(String sourceName)
Used by ISPs which charge for bandwidth utilization on a "95th percentile" basis. |
double |
DataProcessor.getPercentile(String sourceName,
double percentile)
The same as DataProcessor.getPercentile(String) but with a possibility to define custom percentile boundary
(different from 95). |
long[] |
DataProcessor.getTimestamps()
Returns consolidated timestamps created with the DataProcessor.processData() method. |
double[][] |
DataProcessor.getValues()
Returns an array of all datasource values for all datasources. |
double[] |
DataProcessor.getValues(String sourceName)
Returns calculated values for a single datasource. |
double[] |
DataProcessor.getValuesPerPixel(String sourceName)
Method used to calculate datasource values which should be presented on the graph based on the graph width set with a DataProcessor.setPixelCount(int) method call. |
double[] |
DataProcessor.getValuesPerPixel(String sourceName,
int pixelCount)
Method used to calculate datasource values which should be presented on the graph based on the desired graph width. |
static void |
DataProcessor.main(String[] args)
Cute little demo. |
void |
DataProcessor.processData()
Method that should be called once all datasources are defined. |
| Constructors in org.jrobin.data that throw RrdException | |
|---|---|
CubicSplineInterpolator(Calendar[] dates,
double[] values)
Creates cubic spline interpolator from arrays of GregorianCalendar objects and corresponding datasource values. |
|
CubicSplineInterpolator(Date[] dates,
double[] values)
Creates cubic spline interpolator from arrays of Date objects and corresponding datasource values. |
|
CubicSplineInterpolator(double[] x,
double[] y)
Creates cubic spline interpolator for an array of 2D-points. |
|
CubicSplineInterpolator(long[] timestamps,
double[] values)
Creates cubic spline interpolator from arrays of timestamps and corresponding datasource values. |
|
DataProcessor(Calendar gc1,
Calendar gc2)
Creates new DataProcessor object for the given time span. |
|
DataProcessor(Date d1,
Date d2)
Creates new DataProcessor object for the given time span. |
|
DataProcessor(long t1,
long t2)
Creates new DataProcessor object for the given time span. |
|
LinearInterpolator(Calendar[] dates,
double[] values)
Creates LinearInterpolator from arrays of timestamps and corresponding datasource values. |
|
LinearInterpolator(Date[] dates,
double[] values)
Creates LinearInterpolator from arrays of timestamps and corresponding datasource values. |
|
LinearInterpolator(long[] timestamps,
double[] values)
Creates LinearInterpolator from arrays of timestamps and corresponding datasource values. |
|
| Uses of RrdException in org.jrobin.graph |
|---|
| Methods in org.jrobin.graph that throw RrdException | |
|---|---|
RrdGraphDef |
RrdGraphDefTemplate.getRrdGraphDef()
Creates RrdGraphDef object which can be used to create RrdGraph object (actual JRobin graphs). |
void |
RrdGraphDef.setColor(int colorTag,
Paint color)
Overrides the colors for the standard elements of the graph. |
void |
RrdGraphDef.setColor(String colorName,
Paint color)
Overrides the colors for the standard elements of the graph by element name. |
void |
RrdGraphDef.stack(String srcName,
Paint color,
String legend)
Does the same as RrdGraphDef.line(String, java.awt.Paint, String),
but the graph gets stacked on top of the
previous LINE, AREA or STACK graph. |
| Constructors in org.jrobin.graph that throw RrdException | |
|---|---|
RrdGraph(RrdGraphDef gdef)
Creates graph from the corresponding RrdGraphDef object. |
|
RrdGraphDefTemplate(File xmlFile)
Creates template object from the file containing XML template code |
|
RrdGraphDefTemplate(InputSource inputSource)
Creates template object from any parsable XML source |
|
RrdGraphDefTemplate(String xmlString)
Creates template object from the string containing XML template code |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||