Kieker 1.8

kieker.tools.traceAnalysis.filter
Class AbstractTraceProcessingFilter

java.lang.Object
  extended by kieker.analysis.analysisComponent.AbstractAnalysisComponent
      extended by kieker.analysis.plugin.AbstractPlugin
          extended by kieker.analysis.plugin.filter.AbstractFilterPlugin
              extended by kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
                  extended by kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter
All Implemented Interfaces:
IAnalysisComponent, IFilterPlugin, IPlugin
Direct Known Subclasses:
AbstractExecutionTraceProcessingFilter, AbstractInvalidExecutionTraceProcessingFilter, AbstractMessageTraceProcessingFilter, EventRecordTraceCounter, TraceEventRecords2ExecutionAndMessageTraceFilter, TraceReconstructionFilter

public abstract class AbstractTraceProcessingFilter
extends AbstractTraceAnalysisFilter

This is an abstract base for filters processing traces.

Since:
1.1
Author:
Andre van Hoorn

Nested Class Summary
 
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
 
Field Summary
 
Fields inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
REPOSITORY_PORT_NAME_SYSTEM_MODEL
 
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME
 
Constructor Summary
AbstractTraceProcessingFilter(Configuration configuration, IProjectContext projectContext)
          Creates a new instance of this class using the given parameters.
 
Method Summary
 int getErrorCount()
          Delivers the number of traces which have not been processed successfully.
 long getLastTraceIdError()
          Delivers the ID of the last trace which has not been processed successfully.
 long getLastTraceIdSuccess()
          Delivers the ID of the last trace which has been processed successfully.
 int getSuccessCount()
          Delivers the number of traces which have been processed successfully.
 int getTotalCount()
          Delivers the total number of traces which have been processed.
 void printStatusMessage()
          Returns a user-addressed status message to be logged by the calling tool.
 
Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
createExecutionByEntityNames, createExecutionByEntityNames, getSystemEntityFactory, setErrStream, setOutStream
 
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin
init, terminate
 
Methods inherited from class kieker.analysis.plugin.AbstractPlugin
areAllRepositoryPortsConnected, connect, connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getIncomingPlugins, getPluginDescription, getPluginName, getState, isConnectionAllowed, shutdown, start
 
Methods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
getCurrentConfiguration, getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface kieker.analysis.plugin.IPlugin
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentConfiguration, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
 

Constructor Detail

AbstractTraceProcessingFilter

public AbstractTraceProcessingFilter(Configuration configuration,
                                     IProjectContext projectContext)
Creates a new instance of this class using the given parameters.

Parameters:
configuration - The configuration for this component.
projectContext - The project context for this component.
Method Detail

getSuccessCount

public final int getSuccessCount()
Delivers the number of traces which have been processed successfully.

Returns:
The number of traces.

getErrorCount

public final int getErrorCount()
Delivers the number of traces which have not been processed successfully.

Returns:
The number of traces.

getTotalCount

public final int getTotalCount()
Delivers the total number of traces which have been processed.

Returns:
The number of traces.

getLastTraceIdError

public final long getLastTraceIdError()
Delivers the ID of the last trace which has not been processed successfully.

Returns:
The trace ID.

getLastTraceIdSuccess

public final long getLastTraceIdSuccess()
Delivers the ID of the last trace which has been processed successfully.

Returns:
The trace ID.

printStatusMessage

public void printStatusMessage()
Returns a user-addressed status message to be logged by the calling tool. Extending classes may override this method but should call the then-inherited method first.


Kieker 1.8

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