Kieker 1.6

kieker.tools.traceAnalysis.filter.traceFilter
Class TraceEquivalenceClassFilter

java.lang.Object
  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
                  extended by kieker.tools.traceAnalysis.filter.AbstractExecutionTraceProcessingFilter
                      extended by kieker.tools.traceAnalysis.filter.traceFilter.TraceEquivalenceClassFilter
All Implemented Interfaces:
IFilterPlugin, IPlugin

public class TraceEquivalenceClassFilter
extends AbstractExecutionTraceProcessingFilter

This class has exactly one input port named "in" and two output ports named "messageTraceOutput", "executionTraceOutput".

Author:
Andre van Hoorn

Nested Class Summary
static class TraceEquivalenceClassFilter.TraceEquivalenceClassModes
           
 
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
 
Field Summary
static String CONFIG_PROPERTY_NAME_EQUIVALENCE_MODE
           
static TraceEquivalenceClassFilter.TraceEquivalenceClassModes DEFAULT_EQUIVALENCE_MODE
           
static String INPUT_PORT_NAME_EXECUTION_TRACE
           
static String OUTPUT_PORT_NAME_EXECUTION_TRACE_REPRESENTATIVES
           
static String OUTPUT_PORT_NAME_MESSAGE_TRACE_REPRESENTATIVES
           
 
Fields inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter
MAX_DURATION_MILLIS
 
Fields inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
REPOSITORY_PORT_NAME_SYSTEM_MODEL
 
Fields inherited from class kieker.analysis.plugin.AbstractPlugin
CONFIG_NAME
 
Constructor Summary
TraceEquivalenceClassFilter(Configuration configuration)
          Creates a new instance of this class using the given configuration object.
 
Method Summary
 Configuration getCurrentConfiguration()
          This method should deliver a Configuration object containing the current configuration of this instance.
 ConcurrentMap<ExecutionTrace,Integer> getEquivalenceClassMap()
           
 void newExecutionTrace(ExecutionTrace et)
           
 
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, 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, getName, getPluginDescription, getPluginName, getState, isConnectionAllowed, shutdown, start
 
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, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
 

Field Detail

INPUT_PORT_NAME_EXECUTION_TRACE

public static final String INPUT_PORT_NAME_EXECUTION_TRACE
See Also:
Constant Field Values

OUTPUT_PORT_NAME_MESSAGE_TRACE_REPRESENTATIVES

public static final String OUTPUT_PORT_NAME_MESSAGE_TRACE_REPRESENTATIVES
See Also:
Constant Field Values

OUTPUT_PORT_NAME_EXECUTION_TRACE_REPRESENTATIVES

public static final String OUTPUT_PORT_NAME_EXECUTION_TRACE_REPRESENTATIVES
See Also:
Constant Field Values

CONFIG_PROPERTY_NAME_EQUIVALENCE_MODE

public static final String CONFIG_PROPERTY_NAME_EQUIVALENCE_MODE
See Also:
Constant Field Values

DEFAULT_EQUIVALENCE_MODE

public static final TraceEquivalenceClassFilter.TraceEquivalenceClassModes DEFAULT_EQUIVALENCE_MODE
Constructor Detail

TraceEquivalenceClassFilter

public TraceEquivalenceClassFilter(Configuration configuration)
Creates a new instance of this class using the given configuration object. Keep in mind that the Trace-Equivalence-Class-Mode has to be set via the method setTraceEquivalenceCallMode before using this component!

Parameters:
configuration - The configuration object used to initialize this object.
Method Detail

newExecutionTrace

public void newExecutionTrace(ExecutionTrace et)

getEquivalenceClassMap

public ConcurrentMap<ExecutionTrace,Integer> getEquivalenceClassMap()

getCurrentConfiguration

public Configuration getCurrentConfiguration()
Description copied from interface: IPlugin
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.

Returns:
A completely filled configuration object.

Kieker 1.6

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