|
Kieker 1.12 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkieker.monitoring.writer.AbstractMonitoringWriter
kieker.monitoring.writer.database.SyncDbWriter
public final class SyncDbWriter
Stores monitoring data into a database. Warning! This class is an academic prototype and not intended for usage in any critical system.
| Field Summary | |
|---|---|
static java.lang.String |
CONFIG_CONNECTIONSTRING
|
static java.lang.String |
CONFIG_DRIVERCLASSNAME
|
static java.lang.String |
CONFIG_OVERWRITE
|
static java.lang.String |
CONFIG_TABLEPREFIX
|
| Fields inherited from class kieker.monitoring.writer.AbstractMonitoringWriter |
|---|
monitoringController |
| Constructor Summary | |
|---|---|
SyncDbWriter(Configuration configuration)
Creates a new instance of this class using the given parameter. |
|
| Method Summary | |
|---|---|
void |
init()
Implementing classes should indicate an initialization error by throwing an Exception. |
boolean |
newMonitoringRecord(IMonitoringRecord record)
Called for each new record. |
void |
terminate()
Called by the Monitoring Controller to announce a shutdown of monitoring. |
java.lang.String |
toString()
Delivers a string representation of this writer. |
| Methods inherited from class kieker.monitoring.writer.AbstractMonitoringWriter |
|---|
getDefaultConfiguration, newMonitoringRecordNonBlocking, setController |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CONFIG_DRIVERCLASSNAME
public static final java.lang.String CONFIG_CONNECTIONSTRING
public static final java.lang.String CONFIG_TABLEPREFIX
public static final java.lang.String CONFIG_OVERWRITE
| Constructor Detail |
|---|
public SyncDbWriter(Configuration configuration)
throws java.lang.Exception
configuration - The configuration which will be used to initialize this writer.
java.lang.Exception - If the constructor failed to establish a connection to the database.| Method Detail |
|---|
public final void init()
throws java.lang.Exception
AbstractMonitoringWriterException.
init in class AbstractMonitoringWriterjava.lang.Exception - If something during the initialization went wrong.public final boolean newMonitoringRecord(IMonitoringRecord record)
record - the record.
public void terminate()
public java.lang.String toString()
IMonitoringWriter
toString in interface IMonitoringWritertoString in class AbstractMonitoringWriter
|
Kieker 1.12 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||