Class EventRecordTraceCounter
java.lang.Object
kieker.analysis.analysisComponent.AbstractAnalysisComponent
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.filter.AbstractFilterPlugin
kieker.tools.trace.analysis.filter.AbstractTraceAnalysisFilter
kieker.tools.trace.analysis.filter.AbstractTraceProcessingFilter
kieker.tools.trace.analysis.filter.flow.EventRecordTraceCounter
- All Implemented Interfaces:
IAnalysisComponent,IFilterPlugin,IPlugin
@Deprecated public class EventRecordTraceCounter extends AbstractTraceProcessingFilter
Deprecated.
1.15 ported to teetime
Counts and reports the number of incoming valid/invalid
TraceEventRecords.- Since:
- 1.7
- Author:
- Andre van Hoorn
-
Nested Class Summary
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE -
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONFIG_PROPERTY_NAME_LOG_INVALIDDeprecated.This is the name of the configuration determining whether to log invalid traces or not.static java.lang.StringINPUT_PORT_NAME_INVALIDDeprecated.This is the name of the input port receiving invalid record traces.static java.lang.StringINPUT_PORT_NAME_VALIDDeprecated.This is the name of the input port receiving valid record traces.Fields inherited from class kieker.tools.trace.analysis.filter.AbstractTraceAnalysisFilter
CONFIG_PROPERTY_VALUE_VERBOSE, LOGGER, REPOSITORY_PORT_NAME_SYSTEM_MODELFields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME, configuration, logger, projectContext, recordsTimeUnitFromProjectContext -
Constructor Summary
Constructors Constructor Description EventRecordTraceCounter(Configuration configuration, IProjectContext projectContext)Deprecated.Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description ConfigurationgetCurrentConfiguration()Deprecated.This method should deliver aConfigurationobject containing the current configuration of this instance.voidinputInvalidTrace(TraceEventRecords invalidTrace)Deprecated.This method represents the input port for the invalid traces.voidinputValidTrace(TraceEventRecords validTrace)Deprecated.This method represents the input port for the valid traces.Methods inherited from class kieker.tools.trace.analysis.filter.AbstractTraceProcessingFilter
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, printStatusMessage, reportError, reportSuccessMethods inherited from class kieker.tools.trace.analysis.filter.AbstractTraceAnalysisFilter
createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemEntityFactory, printDebugLogMessage, printErrorLogMessageMethods 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, startMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface kieker.analysis.plugin.IPlugin
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
-
Field Details
-
INPUT_PORT_NAME_VALID
public static final java.lang.String INPUT_PORT_NAME_VALIDDeprecated.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_INVALIDDeprecated.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_INVALIDDeprecated.This is the name of the configuration determining whether to log invalid traces or not.- See Also:
- Constant Field Values
-
-
Constructor Details
-
EventRecordTraceCounter
Deprecated.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 Details
-
getCurrentConfiguration
Deprecated.Description copied from class:AbstractAnalysisComponentThis method should deliver aConfigurationobject 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:
getCurrentConfigurationin interfaceIAnalysisComponent- Specified by:
getCurrentConfigurationin interfaceIPlugin- Overrides:
getCurrentConfigurationin classAbstractTraceAnalysisFilter- Returns:
- A completely filled configuration object.
-
inputValidTrace
Deprecated.This method represents the input port for the valid traces.- Parameters:
validTrace- The next trace.
-
inputInvalidTrace
Deprecated.This method represents the input port for the invalid traces.- Parameters:
invalidTrace- The next trace.
-