kieker.analysis.plugin.filter
Class AbstractFilterPlugin
java.lang.Object
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.filter.AbstractFilterPlugin
- All Implemented Interfaces:
- IFilterPlugin, IPlugin
- Direct Known Subclasses:
- AbstractGraphFilter, AbstractTimestampFilter, AbstractTraceAnalysisFilter, AbstractTraceIdFilter, CountingFilter, CountingThroughputFilter, CurrentTimeEventGenerationFilter, EventRecordTraceReconstructionFilter, GraphWriterPlugin, ListCollectionFilter, MonitoringRecordLoggerFilter, RealtimeRecordDelayFilter, StringBufferFilter, TeeFilter, TimestampFilter, TraceIdFilter, TypeFilter
public abstract class AbstractFilterPlugin
- extends AbstractPlugin
- implements IFilterPlugin
This class should be used as a base for every analysis plugin used within Kieker.
For reader plugins, the class AbstractReaderPlugin
should be used
instead.
- Author:
- Nils Christian Ehmke
Method Summary |
boolean |
init()
Initiates the start of a component. |
void |
terminate(boolean error)
Initiates a termination of the plugin. |
Methods inherited from class kieker.analysis.plugin.AbstractPlugin |
areAllRepositoryPortsConnected, connect, connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getIncomingPlugins, getName, getPluginDescription, getPluginName, getState, isConnectionAllowed, shutdown, start |
Methods inherited from interface kieker.analysis.plugin.IPlugin |
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getConnectedPlugins, getCurrentConfiguration, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState |
AbstractFilterPlugin
public AbstractFilterPlugin(Configuration configuration)
- The constructor for the plugin. Every plugin must have this constructor.
- Parameters:
configuration
- The configuration to use for this plugin.
init
public boolean init()
- Description copied from interface:
IPlugin
- Initiates the start of a component.
This method is called once when a AnalysisController's run() method is called.
This implementation must not be blocking!
Asynchronous consumers would spawn (an) asynchronous thread(s) in this method.
- Specified by:
init
in interface IPlugin
- Returns:
- true on success; false otherwise.
terminate
public void terminate(boolean error)
- Description copied from interface:
IPlugin
- Initiates a termination of the plugin. This method is only used by the
framework and should not be called manually.
Use the method
AnalysisController.terminate(boolean)
instead.
After receiving this notification, the plugin should terminate any running
methods, e.g., read for readers.
- Specified by:
terminate
in interface IPlugin
Copyright 2012 Kieker Project, http://kieker-monitoring.net>