Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Kieker 1.10
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Nested Class Summary

Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
`IPlugin.PluginInputPortReference, IPlugin.STATE`

Field Summary
`static String` | `CONFIG_PROPERTY_NAME_LOG_INVALID` This is the name of the configuration determining whether to log invalid traces or not.
`static String` | `INPUT_PORT_NAME_INVALID` This is the name of the input port receiving invalid record traces.
`static String` | `INPUT_PORT_NAME_VALID` This is the name of the input port receiving valid record traces.

Fields inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
`CONFIG_PROPERTY_VALUE_VERBOSE, REPOSITORY_PORT_NAME_SYSTEM_MODEL`

Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
`CONFIG_NAME`

Constructor Summary
`EventRecordTraceCounter(Configuration configuration, IProjectContext projectContext)` Creates a new instance of this class using the given parameters.

Method Summary
`Configuration` | `getCurrentConfiguration()` This method should deliver a `Configuration` object containing the current configuration of this instance.
`void` | `inputInvalidTrace(TraceEventRecords invalidTrace)` This method represents the input port for the invalid traces.
`void` | `inputValidTrace(TraceEventRecords validTrace)` This method represents the input port for the valid traces.

Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter
`getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, printStatusMessage`

Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
`createExecutionByEntityNames, createExecutionByEntityNames, getSystemEntityFactory`

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
`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, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState`

Field Detail

### INPUT_PORT_NAME_VALID

    public static final 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 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 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

Constructor Detail

### 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.

Method Detail

### 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Kieker 1.10
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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