Kieker 1.5

kieker.monitoring.writer.database
Class AsyncDbWriter

java.lang.Object
  extended by kieker.monitoring.writer.AbstractMonitoringWriter
      extended by kieker.monitoring.writer.AbstractAsyncWriter
          extended by kieker.monitoring.writer.database.AsyncDbWriter
All Implemented Interfaces:
IMonitoringRecordReceiver, IMonitoringWriter

public final class AsyncDbWriter
extends AbstractAsyncWriter

Stores monitoring data into a database. Warning! This class is an academic prototype and not intended for usage in any critical system.

Author:
Jan Waller

Field Summary
static String CONFIG_CONNECTIONSTRING
           
static String CONFIG_DRIVERCLASSNAME
           
static String CONFIG_NRCONN
           
static String CONFIG_OVERWRITE
           
static String CONFIG_TABLEPREFIX
           
 
Constructor Summary
AsyncDbWriter(Configuration configuration)
           
 
Method Summary
 void init()
          Implementing classes should indicate an initialization error by throwing an Exception.
 
Methods inherited from class kieker.monitoring.writer.AbstractAsyncWriter
newMonitoringRecord, terminate, toString
 
Methods inherited from class kieker.monitoring.writer.AbstractMonitoringWriter
getConfiguration, setController
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONFIG_DRIVERCLASSNAME

public static final String CONFIG_DRIVERCLASSNAME

CONFIG_CONNECTIONSTRING

public static final String CONFIG_CONNECTIONSTRING

CONFIG_TABLEPREFIX

public static final String CONFIG_TABLEPREFIX

CONFIG_NRCONN

public static final String CONFIG_NRCONN

CONFIG_OVERWRITE

public static final String CONFIG_OVERWRITE
Constructor Detail

AsyncDbWriter

public AsyncDbWriter(Configuration configuration)
              throws Exception
Throws:
Exception
Method Detail

init

public void init()
          throws Exception
Description copied from class: AbstractMonitoringWriter
Implementing classes should indicate an initialization error by throwing an Exception.

Throws:
Exception

Kieker 1.5

Copyright 2012 the Kieker Project, http://kieker-monitoring.net