|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rrdService.util.VirtualDataSource
The class VirtualDataSource Define virtual name for a data source. This name can then be used in the functions explained below. The DEF call automatically chooses an RRA which contains CF consolidated data in a resolution appropriate for the size of the graph to be drawn. Ideally this means that one data point from the RRA should be represented by one pixel in the graph. If the resolution of the RRA is higher than the resolution of the graph, the data in the RRA will be further consolidated according to the consolidation function ( CF) chosen.
-
RoundRobinGraphic
, Serialized FormField Summary | |
private ConsolidationFunction |
consolidationFunction
consolidationFunction of this virtual data source |
private java.lang.String |
dataSourceName
dataSourceName of this virtual data source |
private java.lang.String |
rrdName
roundRobinDataBase name associate with this virtual data source |
private java.lang.String |
virtualName
virtualName virtual name for a data source |
Constructor Summary | |
VirtualDataSource(java.lang.String virtualName,
java.lang.String rrdName,
java.lang.String dataSourceName,
ConsolidationFunction consolidationFunction)
Constructor of VirtualDataSource |
Method Summary | |
java.lang.String |
getRrdName()
Returns the roundRobinDataBase name associate with this virtual data source |
java.lang.String |
getVirtualName()
Returns the the virtual name for a data source |
ConsolidationFunction |
setConsolidationFunction()
Returns the consolidationFunction of this virtual data source |
void |
setConsolidationFunction(ConsolidationFunction consolidationFunction)
Replaces the consolidationFunction of this virtual data source |
java.lang.String |
setDataSourceName()
Returns the dataSourceName of this virtual data source |
void |
setDataSourceName(java.lang.String dataSourceName)
Replaces the dataSourceName of this virtual data source |
void |
setRrdName(java.lang.String rrdName)
Replaces the roundRobinDataBase name associate with this virtual data source |
void |
setVirtualName(java.lang.String virtualName)
Replaces the the virtual name for a data source |
java.lang.String |
toString()
Returns a string representation of this virtual data source |
Methods inherited from class java.lang.Object |
|
Field Detail |
private ConsolidationFunction consolidationFunction
private java.lang.String dataSourceName
private java.lang.String rrdName
private java.lang.String virtualName
Constructor Detail |
public VirtualDataSource(java.lang.String virtualName, java.lang.String rrdName, java.lang.String dataSourceName, ConsolidationFunction consolidationFunction)
virtualName
- the virtual name for a data sourcerrdName
- roundRobinDataBase name associate with this virtual data sourcedataSourceName
- the dataSourceName of this virtual data sourceconsolidationFunction
- the consolidationFunction of this virtual data sourceMethod Detail |
public java.lang.String getRrdName()
public java.lang.String getVirtualName()
public ConsolidationFunction setConsolidationFunction()
public void setConsolidationFunction(ConsolidationFunction consolidationFunction)
consolidationFunction
- the consolidationFunction of this virtual data sourcepublic java.lang.String setDataSourceName()
public void setDataSourceName(java.lang.String dataSourceName)
dataSourceName
- the dataSourceName of this virtual data source to setpublic void setRrdName(java.lang.String rrdName)
rrdName
- the roundRobinDataBase name associate with this virtual data source to setpublic void setVirtualName(java.lang.String virtualName)
virtualName
- the virtual name for a data source to setpublic java.lang.String toString()
toString
in class java.lang.Object
|
Copyright 1885-2001 FIRMENICH SA, Geneva | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |