Kieker 1.12

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.

Since:
< 0.9
Author:
Jan Waller

Field Summary
static java.lang.String CONFIG_CONNECTIONSTRING
           
static java.lang.String CONFIG_DRIVERCLASSNAME
           
static java.lang.String CONFIG_NRCONN
           
static java.lang.String CONFIG_OVERWRITE
           
static java.lang.String CONFIG_TABLEPREFIX
           
 
Fields inherited from class kieker.monitoring.writer.AbstractAsyncWriter
blockingQueue, CONFIG_BEHAVIOR, CONFIG_PRIORITIZED_QUEUESIZE, CONFIG_QUEUESIZE, CONFIG_SHUTDOWNDELAY, prioritizedBlockingQueue
 
Fields inherited from class kieker.monitoring.writer.AbstractMonitoringWriter
monitoringController
 
Constructor Summary
AsyncDbWriter(Configuration configuration)
          Creates a new instance of this class using the given parameters.
 
Method Summary
 void init()
          Implementing classes should indicate an initialization error by throwing an Exception.
 
Methods inherited from class kieker.monitoring.writer.AbstractAsyncWriter
addWorker, getDefaultConfiguration, newMonitoringRecord, newMonitoringRecordNonBlocking, terminate, toString
 
Methods inherited from class kieker.monitoring.writer.AbstractMonitoringWriter
setController
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONFIG_DRIVERCLASSNAME

public static final java.lang.String CONFIG_DRIVERCLASSNAME

CONFIG_CONNECTIONSTRING

public static final java.lang.String CONFIG_CONNECTIONSTRING

CONFIG_TABLEPREFIX

public static final java.lang.String CONFIG_TABLEPREFIX

CONFIG_NRCONN

public static final java.lang.String CONFIG_NRCONN

CONFIG_OVERWRITE

public static final java.lang.String CONFIG_OVERWRITE
Constructor Detail

AsyncDbWriter

public AsyncDbWriter(Configuration configuration)
              throws java.lang.Exception
Creates a new instance of this class using the given parameters.

Parameters:
configuration - The configuration for this writer.
Throws:
java.lang.Exception - If something went wrong during the initialization of the writer.
Method Detail

init

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

Specified by:
init in class AbstractMonitoringWriter
Throws:
java.lang.Exception - If something during the initialization went wrong.

Kieker 1.12

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