|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectraccoon.tibco.tibrv.hoststatus.db.DbWriter
public class DbWriter
Writes the statistical data to a database.
| Constructor Summary | |
|---|---|
DbWriter(java.sql.Connection pConnection,
ILogger pLogger)
Connects to the database. |
|
| Method Summary | |
|---|---|
IConfig |
getConfig()
|
void |
setConfig(IConfig pConfig)
|
void |
unload()
Method to be invoked when the insertion is finished. |
void |
update(java.lang.String pService,
AdminGuiConfig pGuiConfig)
Updates the information related to the Admin GUI of Rendezvous. |
void |
write(java.lang.String pService,
AdminGuiConfig pGuiConfig)
Inserts into the database a new Rendezvous enabled host |
void |
write(java.lang.String pHostAddress,
java.lang.String pConfigKPI,
MsgInfo pMsgInfo)
Writes to the Host Information table the host. |
void |
write(java.lang.String pConfigKPI,
TransportStat pStat)
Inserts a statistical line into the database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbWriter(java.sql.Connection pConnection,
ILogger pLogger)
throws java.sql.SQLException
pConnection - the database connection that this writer is to use
java.sql.SQLException - if the prepared statement couldn't be created.| Method Detail |
|---|
public IConfig getConfig()
public void setConfig(IConfig pConfig)
public void unload()
throws java.sql.SQLException
java.sql.SQLException - if the clearing fails for some reason.
public void write(java.lang.String pConfigKPI,
TransportStat pStat)
throws RaccoonException
pConfigKPI - the KPI Configuration used.pStat - the transport statistics.
RaccoonException - if the element couldn't be inserted into the database.
public void write(java.lang.String pService,
AdminGuiConfig pGuiConfig)
pService - the Rendezvous servicepGuiConfig - the information related to th
public void update(java.lang.String pService,
AdminGuiConfig pGuiConfig)
pService - the Rendezvous servicepGuiConfig - the information related to th
public void write(java.lang.String pHostAddress,
java.lang.String pConfigKPI,
MsgInfo pMsgInfo)
pHostAddress - the host addresspConfigKPI - the Rv configuration that provided this information.pMsgInfo - the message information KPI, used for the Operatiing System.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||