|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rrdService.service.RoundRobinInfo
The class RoundRobinInfo allows to known all info about a RoundRobin
RoundRobinDataBase RoundRobinLibrary
Field Summary | |
private DataSourceContainer |
DSContainer
data source container of the round robine |
private java.io.FileInputStream |
infoFileInputStream
The file with info |
private long |
lastUpdate
last update of the round robin |
private java.lang.String |
roundRobinName
filename of the round robine |
private java.lang.String |
roundRobinVersion
round robine version |
private RoundRobinArchiveContainer |
RRAContainer
round robine archive container of the round robine |
private int |
step
step of the round robin |
Constructor Summary | |
RoundRobinInfo(java.io.File infoFile)
Constructor of a RoundRobinInfo |
Method Summary | |
DataSourceContainer |
getDataSourceContainer()
Returns the data source container of the round robin |
long |
getLastUpdate()
Returns the last update 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 |
java.lang.String |
getRoundRobinName()
Returns the name of the round robin |
int |
getStep()
Returns the step of the round robin |
private boolean |
notEndOfFile()
notEndOfFile return true if end of config file is reach |
private java.lang.Double |
readDoubleValue(java.lang.String line)
readDoubleValue read the value of a lexem which is a double |
private java.lang.String |
readDsName(java.lang.String lexem)
readDsName read the DsName of a DS line |
private java.lang.String |
readLexem(java.lang.String line)
readLexem read a lexem |
private java.lang.String |
readLine()
readLine read a line |
private java.lang.String |
readValue(java.lang.String line)
readValue read the value of a lexem |
java.lang.String |
toString()
toString return a string representation of a RRDInfo |
Methods inherited from class java.lang.Object |
|
Field Detail |
private DataSourceContainer DSContainer
private java.io.FileInputStream infoFileInputStream
private long lastUpdate
private java.lang.String roundRobinName
private java.lang.String roundRobinVersion
private RoundRobinArchiveContainer RRAContainer
private int step
Constructor Detail |
public RoundRobinInfo(java.io.File infoFile) throws java.lang.Exception
Method Detail |
public DataSourceContainer getDataSourceContainer()
public long getLastUpdate()
public RoundRobinArchiveContainer getRoundRobinArchiveContainer()
public java.lang.String getRoundRobineVersion()
public java.lang.String getRoundRobinName()
public int getStep()
private boolean notEndOfFile() throws java.lang.Exception
private java.lang.Double readDoubleValue(java.lang.String line) throws java.lang.Exception
line
- the line to testprivate java.lang.String readDsName(java.lang.String lexem)
lexem
- the lexem to testprivate java.lang.String readLexem(java.lang.String line)
line
- the line to testprivate java.lang.String readLine() throws java.lang.Exception
private java.lang.String readValue(java.lang.String line) throws java.lang.Exception
line
- the line to testpublic 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 |