kieker.tools.traceAnalysis.filter
Class AbstractTraceProcessingFilter
java.lang.Object
kieker.analysis.analysisComponent.AbstractAnalysisComponent
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.filter.AbstractFilterPlugin
kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
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
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.analysis.plugin.AbstractPlugin |
areAllRepositoryPortsConnected, connect, connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getIncomingPlugins, getPluginDescription, getPluginName, getState, isConnectionAllowed, shutdown, start |
Methods inherited from interface kieker.analysis.plugin.IPlugin |
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentConfiguration, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState |
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.
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.
Copyright 2014 Kieker Project, http://kieker-monitoring.net>