|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface RoundRobinDataBaseItf is the remote interface of RoundRobinDataBase
RoundRobin
Method Summary | |
int |
delete()
delete delete a rrd |
java.io.File |
dump(java.lang.String xmlFilename)
dump dump a round robin database The dump function prints the contents of an RRD in human readable (?) |
java.lang.String |
fetch(java.lang.String cf)
fetch fetch a round robin database |
java.lang.String |
fetch(java.lang.String cf,
int resolution)
fetch fetch a round robin database |
java.lang.String |
fetch(java.lang.String cf,
int resolution,
Time startTime)
fetch fetch a round robin database |
java.lang.String |
fetch(java.lang.String cf,
int resolution,
Time startTime,
Time endTime)
fetch fetch a round robin database |
java.lang.String |
fetch(java.lang.String cf,
Time startTime)
fetch fetch a round robin database |
java.lang.String |
fetch(java.lang.String cf,
Time startTime,
Time endTime)
fetch fetch a round robin database |
DataSourceContainer |
getDataSourceContainer()
Returns the data source container of the round robin |
RoundRobinArchiveContainer |
getRoundRobinArchiveContainer()
Returns the round robin archive container of the round robin |
java.lang.String |
getRoundRobineVersion()
Returns the version of the round robin |
long |
getSize()
getSize return the size of RoundRobinDataBase |
int |
getStep()
Returns the step of the round robin |
RoundRobinImage |
graph(RoundRobinGraphic roundRobinGraphic)
graph Create a graph based on data from one or several RRD |
void |
grow(int rraNum,
int rows)
grow used if you want to add extra rows to an RRA. |
java.lang.String |
info()
getInfo return info about a round robin database |
Time |
last()
last return the date of the last data sample in an RRD |
RoundRobinDataBaseItf |
restore(java.lang.String xmlFilename)
restore the contents of an RRD from its XML dump format |
void |
setDataSourceName(java.lang.String oldDsName,
java.lang.String newDsName)
setDataSourceName modify the name of data source of this RRD |
void |
setDataSourceType(java.lang.String dsName,
java.lang.String dataSourceType)
setDataSourceType modify the type of data source of this RRD |
void |
setHeartbeat(java.lang.String dsName,
int heartbeat)
setHeartbeat modify the heartbeat of this RRD |
void |
setMaximum(java.lang.String dsName,
int maximum)
setMaximum modify the maximum of this RRD |
void |
setMinimum(java.lang.String dsName,
int minimum)
setMinimum modify the minimum of this RRD |
void |
shrink(int rraNum,
int rows)
shrink used if you want to remove rows from an RRA. |
void |
update(Data data)
Update update a round robin database |
void |
update(DataContainer dataContainer)
Update update a round robin database |
void |
update(Template template,
DataContainer dataContainer)
Update update a round robin database |
Methods inherited from interface rrdService.service.RoundRobinItf |
getName, getType, isRoundRobinDataBase, isRoundRobinLibrary |
Method Detail |
public int delete() throws java.rmi.RemoteException
delete
in interface RoundRobinItf
public java.io.File dump(java.lang.String xmlFilename) throws java.rmi.RemoteException
xmlFilename
- the name of the output xlm filepublic java.lang.String fetch(java.lang.String cf) throws java.rmi.RemoteException
cf
- which consolidation function should have been applied to the data you want to fetch? (AVERAGE,MIN,MAX,LAST)public java.lang.String fetch(java.lang.String cf, int resolution) throws java.rmi.RemoteException
cf
- which consolidation function should have been applied to the data you want to fetch? (AVERAGE,MIN,MAX,LAST)resolution
- what interval should the values have (seconds per value). rrdfetch will try to match your request, but it will return data even if no absolute match is possible.startTime
- when should the data begin. A time in seconds since epoch (1970-01-01) is required. Negative numbers are relative to the current time. By default one day worth of data will be fetched. See also AT-STYLE TIME SPECIFICATION section for a detailed explanation on ways to specify start time.public java.lang.String fetch(java.lang.String cf, int resolution, Time startTime) throws java.rmi.RemoteException
cf
- which consolidation function should have been applied to the data you want to fetch? (AVERAGE,MIN,MAX,LAST)resolution
- what interval should the values have (seconds per value). rrdfetch will try to match your request, but it will return data even if no absolute match is possible.startTime
- when should the data begin. A time in seconds since epoch (1970-01-01) is required. Negative numbers are relative to the current time. By default one day worth of data will be fetched. See also AT-STYLE TIME SPECIFICATION section for a detailed explanation on ways to specify start time.public java.lang.String fetch(java.lang.String cf, int resolution, Time startTime, Time endTime) throws java.rmi.RemoteException
cf
- which consolidation function should have been applied to the data you want to fetch? (AVERAGE,MIN,MAX,LAST)resolution
- what interval should the values have (seconds per value). rrdfetch will try to match your request, but it will return data even if no absolute match is possible.startTime
- when should the data begin. A time in seconds since epoch (1970-01-01) is required. Negative numbers are relative to the current time. By default one day worth of data will be fetched. See also AT-STYLE TIME SPECIFICATION section for a detailed explanation on ways to specify start time.endTime
- when should the data end. Time in seconds since epoch. See also AT-STYLE TIME SPECIFICATION section for a detailed explanation of how to specify end time.public java.lang.String fetch(java.lang.String cf, Time startTime) throws java.rmi.RemoteException
cf
- which consolidation function should have been applied to the data you want to fetch? (AVERAGE,MIN,MAX,LAST)startTime
- when should the data begin. A time in seconds since epoch (1970-01-01) is required. Negative numbers are relative to the current time. By default one day worth of data will be fetched. See also AT-STYLE TIME SPECIFICATION section for a detailed explanation on ways to specify start time.public java.lang.String fetch(java.lang.String cf, Time startTime, Time endTime) throws java.rmi.RemoteException
cf
- which consolidation function should have been applied to the data you want to fetch? (AVERAGE,MIN,MAX,LAST)startTime
- when should the data begin. A time in seconds since epoch (1970-01-01) is required. Negative numbers are relative to the current time. By default one day worth of data will be fetched. See also AT-STYLE TIME SPECIFICATION section for a detailed explanation on ways to specify start time.endTime
- when should the data end. Time in seconds since epoch. See also AT-STYLE TIME SPECIFICATION section for a detailed explanation of how to specify end time.public DataSourceContainer getDataSourceContainer() throws java.rmi.RemoteException
public RoundRobinArchiveContainer getRoundRobinArchiveContainer() throws java.rmi.RemoteException
public java.lang.String getRoundRobineVersion() throws java.rmi.RemoteException
public long getSize() throws java.rmi.RemoteException
getSize
in interface RoundRobinItf
public int getStep() throws java.rmi.RemoteException
public RoundRobinImage graph(RoundRobinGraphic roundRobinGraphic) throws java.rmi.RemoteException
roundRobinGraphic
- the roundRobinGraphic which represent the graphpublic void grow(int rraNum, int rows) throws java.rmi.RemoteException
rraNum
- the RRA you want to alter. You can find the number using rrdtool info.rows
- the number of rows you want to add.public java.lang.String info() throws java.rmi.RemoteException
public Time last() throws java.rmi.RemoteException
public RoundRobinDataBaseItf restore(java.lang.String xmlFilename) throws java.rmi.RemoteException
xmlFilename
- the name of the input xlm filepublic void setDataSourceName(java.lang.String oldDsName, java.lang.String newDsName) throws java.rmi.RemoteException
oldDsName
- the ds-name of data source of this RRD to modifynewDsName
- the new name of data source of this RRDpublic void setDataSourceType(java.lang.String dsName, java.lang.String dataSourceType) throws java.rmi.RemoteException
dsName
- the ds-name of data source of this RRD to modifydataSourceType
- the new type of data source of this RRDpublic void setHeartbeat(java.lang.String dsName, int heartbeat) throws java.rmi.RemoteException
dsName
- the ds-name of data source of this RRD to modifyheartbeat
- the new heartbeat of this RRDpublic void setMaximum(java.lang.String dsName, int maximum) throws java.rmi.RemoteException
dsName
- the ds-name of data source of this RRD to modifymaximum
- the new maximum of this RRDpublic void setMinimum(java.lang.String dsName, int minimum) throws java.rmi.RemoteException
dsName
- the ds-name of data source of this RRD to modifyminimum
- the new minimum of this RRDpublic void shrink(int rraNum, int rows) throws java.rmi.RemoteException
rraNum
- the RRA you want to alter. You can find the number using rrdtool info.rows
- the number of rows you want to remove.public void update(Data data) throws java.rmi.RemoteException
data
- The data used for updating the RRD was acquired at a certain time.public void update(DataContainer dataContainer) throws java.rmi.RemoteException
dataContainer
- The data used for updating the RRD was acquired at a certain time.public void update(Template template, DataContainer dataContainer) throws java.rmi.RemoteException
template
- The template switch allows you to specify which data sources you are going to update and in which order.dataContainer
- The data used for updating the RRD was acquired at a certain time.
|
Copyright 1885-2001 FIRMENICH SA, Geneva | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |