kieker.tools.traceAnalysis.filter.flow
Class EventRecordTraceCounter
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
kieker.tools.traceAnalysis.filter.flow.EventRecordTraceCounter
- All Implemented Interfaces:
- IAnalysisComponent, IFilterPlugin, IPlugin
public class EventRecordTraceCounter
- extends AbstractTraceProcessingFilter
Counts and reports the number of incoming valid/invalid TraceEventRecords
.
- Since:
- 1.7
- Author:
- Andre van Hoorn
Field Summary |
static java.lang.String |
CONFIG_PROPERTY_NAME_LOG_INVALID
This is the name of the configuration determining whether to log invalid traces or not. |
static java.lang.String |
INPUT_PORT_NAME_INVALID
This is the name of the input port receiving invalid record traces. |
static java.lang.String |
INPUT_PORT_NAME_VALID
This is the name of the input port receiving valid record traces. |
Methods inherited from class kieker.analysis.plugin.AbstractPlugin |
areAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface kieker.analysis.plugin.IPlugin |
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState |
INPUT_PORT_NAME_VALID
public static final java.lang.String INPUT_PORT_NAME_VALID
- This is the name of the input port receiving valid record traces.
- See Also:
- Constant Field Values
INPUT_PORT_NAME_INVALID
public static final java.lang.String INPUT_PORT_NAME_INVALID
- This is the name of the input port receiving invalid record traces.
- See Also:
- Constant Field Values
CONFIG_PROPERTY_NAME_LOG_INVALID
public static final java.lang.String CONFIG_PROPERTY_NAME_LOG_INVALID
- This is the name of the configuration determining whether to log invalid traces or not.
- See Also:
- Constant Field Values
EventRecordTraceCounter
public EventRecordTraceCounter(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.
getCurrentConfiguration
public Configuration getCurrentConfiguration()
- Description copied from class:
AbstractAnalysisComponent
- This method should deliver a
Configuration
object containing the current configuration of this instance. In other words: The constructor should be
able to use the given object to initialize a new instance of this class with the same intern properties.
- Specified by:
getCurrentConfiguration
in interface IAnalysisComponent
- Specified by:
getCurrentConfiguration
in interface IPlugin
- Overrides:
getCurrentConfiguration
in class AbstractTraceAnalysisFilter
- Returns:
- A completely filled configuration object.
inputValidTrace
public void inputValidTrace(TraceEventRecords validTrace)
- This method represents the input port for the valid traces.
- Parameters:
validTrace
- The next trace.
inputInvalidTrace
public void inputInvalidTrace(TraceEventRecords invalidTrace)
- This method represents the input port for the invalid traces.
- Parameters:
invalidTrace
- The next trace.
Copyright 2015 Kieker Project, http://kieker-monitoring.net