Class TraceAggregationFilter
java.lang.Object
kieker.analysis.analysisComponent.AbstractAnalysisComponent
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.filter.AbstractFilterPlugin
kieker.analysis.plugin.filter.flow.TraceAggregationFilter
- All Implemented Interfaces:
IAnalysisComponent
,IFilterPlugin
,IPlugin
@Deprecated public class TraceAggregationFilter extends AbstractFilterPlugin
Deprecated.
1.15 ported to teetime kieker.analysis.filter.flow
This filter collects incoming traces for a specified amount of time. Any
traces representing the same series of events will be used to calculate
statistical informations like the average runtime of this kind of trace. Only
one specimen of these traces containing this information will be forwarded
from this filter.
Statistical outliers regarding the runtime of the trace will be treated
special and therefore send out as they are and will not be mixed with others.
- Since:
- 1.9
- Author:
- Jan Waller, Florian Biss
-
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.String
CONFIG_PROPERTY_NAME_MAX_COLLECTION_DURATION
Deprecated.The name of the property determining the maximal trace timeout.static java.lang.String
CONFIG_PROPERTY_NAME_TIMEUNIT
Deprecated.The name of the property determining the time unit.static java.lang.String
CONFIG_PROPERTY_VALUE_MAX_COLLECTION_DURATION
Deprecated.The default value of the property determining the maximal trace timeout.static java.lang.String
CONFIG_PROPERTY_VALUE_TIMEUNIT
Deprecated.The default value of the time unit property (nanoseconds).static java.lang.String
INPUT_PORT_NAME_TIME_EVENT
Deprecated.Clock input for timeout handling.static java.lang.String
INPUT_PORT_NAME_TRACES
Deprecated.The name of the input port receiving the trace records.static java.lang.String
OUTPUT_PORT_NAME_TRACES
Deprecated.The name of the output port delivering the valid traces.Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME, configuration, logger, projectContext, recordsTimeUnitFromProjectContext
-
Constructor Summary
Constructors Constructor Description TraceAggregationFilter(Configuration configuration, IProjectContext projectContext)
Deprecated.Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description Configuration
getCurrentConfiguration()
Deprecated.This method should deliver aConfiguration
object containing the current configuration of this instance.void
newEvent(java.lang.Long timestamp)
Deprecated.This method is the input port for the timeout.void
newEvent(TraceEventRecords traceEventRecords)
Deprecated.This method is the input port for incoming traces.void
terminate(boolean error)
Deprecated.Initiates a termination of the plugin.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
-
Field Details
-
OUTPUT_PORT_NAME_TRACES
public static final java.lang.String OUTPUT_PORT_NAME_TRACESDeprecated.The name of the output port delivering the valid traces.- See Also:
- Constant Field Values
-
INPUT_PORT_NAME_TRACES
public static final java.lang.String INPUT_PORT_NAME_TRACESDeprecated.The name of the input port receiving the trace records.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_NAME_TIMEUNIT
public static final java.lang.String CONFIG_PROPERTY_NAME_TIMEUNITDeprecated.The name of the property determining the time unit.- See Also:
- Constant Field Values
-
INPUT_PORT_NAME_TIME_EVENT
public static final java.lang.String INPUT_PORT_NAME_TIME_EVENTDeprecated.Clock input for timeout handling.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_VALUE_TIMEUNIT
public static final java.lang.String CONFIG_PROPERTY_VALUE_TIMEUNITDeprecated.The default value of the time unit property (nanoseconds).- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_NAME_MAX_COLLECTION_DURATION
public static final java.lang.String CONFIG_PROPERTY_NAME_MAX_COLLECTION_DURATIONDeprecated.The name of the property determining the maximal trace timeout.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_VALUE_MAX_COLLECTION_DURATION
public static final java.lang.String CONFIG_PROPERTY_VALUE_MAX_COLLECTION_DURATIONDeprecated.The default value of the property determining the maximal trace timeout.- See Also:
- Constant Field Values
-
-
Constructor Details
-
TraceAggregationFilter
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
-
newEvent
public void newEvent(java.lang.Long timestamp)Deprecated.This method is the input port for the timeout.- Parameters:
timestamp
- The timestamp
-
newEvent
Deprecated.This method is the input port for incoming traces.- Parameters:
traceEventRecords
- incoming TraceEventRecords
-
terminate
public void terminate(boolean error)Deprecated.Initiates a termination of the plugin. This method is only used by the framework and should not be called manually. Use the methodAnalysisController.terminate(boolean)
instead. After receiving this notification, the plugin should terminate any running methods, e.g., read for readers.- Specified by:
terminate
in interfaceIPlugin
- Overrides:
terminate
in classAbstractFilterPlugin
- Parameters:
error
- Determines whether the plugin is terminated due to an error or not.
-
getCurrentConfiguration
Deprecated.This method should deliver aConfiguration
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 interfaceIAnalysisComponent
- Specified by:
getCurrentConfiguration
in interfaceIPlugin
- Specified by:
getCurrentConfiguration
in classAbstractAnalysisComponent
- Returns:
- A completely filled configuration object.
-