|
Kieker 1.9 | |||||||||
| 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 String |
CONFIG_CONNECTIONSTRING
|
static String |
CONFIG_DRIVERCLASSNAME
|
static String |
CONFIG_OVERWRITE
|
static String |
CONFIG_TABLEPREFIX
|
| 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. |
String |
toString()
Delivers a string representation of this writer. |
| Methods inherited from class kieker.monitoring.writer.AbstractMonitoringWriter |
|---|
newMonitoringRecordNonBlocking, setController |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String CONFIG_DRIVERCLASSNAME
public static final String CONFIG_CONNECTIONSTRING
public static final String CONFIG_TABLEPREFIX
public static final String CONFIG_OVERWRITE
| Constructor Detail |
|---|
public SyncDbWriter(Configuration configuration)
throws Exception
configuration - The configuration which will be used to initialize this writer.
Exception - If the constructor failed to establish a connection to the database.| Method Detail |
|---|
public final void init()
throws Exception
AbstractMonitoringWriterException.
Exception - If something during the initialization went wrong.public final boolean newMonitoringRecord(IMonitoringRecord record)
record - the record.
public void terminate()
public String toString()
IMonitoringWriter
toString in interface IMonitoringWritertoString in class AbstractMonitoringWriter
|
Kieker 1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||