Kieker 1.4

kieker.analysis
Class AnalysisController

java.lang.Object
  extended by kieker.analysis.AnalysisController

public class AnalysisController
extends Object

2010-03-06 Matthias: Added exception handling for the case that the log reader is missing. (I had lot of pain because of this). 2010-03-04 Andre: Release of Kieker 1.1 TODOs: - In the context of realizing a event driven architecture for the model synthesis layer, it makes sense to refactor the KiekerRecordConsumers to KiekerRecordFilters. Consumers are only about how data goes in - but we also have now a concept what should happen if the data goes out: its again a publisher, to which other filters or plugins can subscribe to.

Author:
Andre van Hoorn, Matthias Rohr

Constructor Summary
AnalysisController()
          Constructs an AnalysisController instance.
 
Method Summary
 void registerPlugin(IAnalysisPlugin plugin)
          Registers the passed plug-in c.
 boolean run()
          Starts an AnalysisController instance and returns after the configured reader finished reading and all analysis plug-ins terminated; or immediately, if an error occurs.
 void setReader(IMonitoringReader reader)
          Sets the log reader used as the source for monitoring records.
 void terminate()
          Initiates a termination of the analysis.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalysisController

public AnalysisController()
Constructs an AnalysisController instance.

Method Detail

run

public boolean run()
Starts an AnalysisController instance and returns after the configured reader finished reading and all analysis plug-ins terminated; or immediately, if an error occurs.

Returns:
true on success; false if an error occurred

terminate

public void terminate()
Initiates a termination of the analysis.


setReader

public void setReader(IMonitoringReader reader)
Sets the log reader used as the source for monitoring records.

Parameters:
reader -

registerPlugin

public void registerPlugin(IAnalysisPlugin plugin)
Registers the passed plug-in c. If c is an instance of the interface IMonitoringRecordConsumerPlugin it is also registered as a record consumer.


Kieker 1.4

Copyright 2011 the Kieker Project, http://kieker.sourceforge.net