Class TraceReconstructionFilter
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.traceReconstruction.TraceReconstructionFilter
- All Implemented Interfaces:
IAnalysisComponent,IFilterPlugin,IPlugin
@Deprecated public class TraceReconstructionFilter extends AbstractTraceProcessingFilter
Deprecated.
1.15 ported to teetime
- Since:
- 1.1
- 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_IGNORE_INVALID_TRACESDeprecated.This is the name of the property determining whether to ignore invalid traces or not.static java.lang.StringCONFIG_PROPERTY_NAME_MAX_TRACE_DURATIONDeprecated.This is the name of the property determining the maximal duration of a trace.static java.lang.StringCONFIG_PROPERTY_NAME_TIMEUNITDeprecated.This is the name of the property determining the used time unit.static java.lang.StringCONFIG_PROPERTY_VALUE_MAX_TRACE_DURATIONDeprecated.This is the default value for the maximal duration of a trace.static java.lang.StringCONFIG_PROPERTY_VALUE_TIMEUNITDeprecated.This is the default used time unit.static java.lang.StringINPUT_PORT_NAME_EXECUTIONSDeprecated.This is the name of the input port receiving new executions.static java.lang.StringOUTPUT_PORT_NAME_EXECUTION_TRACEDeprecated.This is the name of the output port delivering the reconstructed execution traces.static java.lang.StringOUTPUT_PORT_NAME_INVALID_EXECUTION_TRACEDeprecated.This is the name of the output port delivering the reconstructed, but invalid executions traces.static java.lang.StringOUTPUT_PORT_NAME_MESSAGE_TRACEDeprecated.This is the name of the output port delivering the reconstructed message 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 TraceReconstructionFilter(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.java.util.Set<java.lang.Long>getInvalidTraces()Deprecated.Returns a set of the IDs of invalid traces.longgetMaxTout()Deprecated.Returns the maximum tout timestamp of a processed execution.longgetMaxTraceDuration()Deprecated.Return the number of timeunits after which a pending trace is considered to have timed out.longgetMinTin()Deprecated.Returns the minimum tin timestamp of a processed execution.booleaninit()Deprecated.Initiates the start of a component.voidinputExecutions(Execution execution)Deprecated.This method represents the input port of this filter.voidprintStatusMessage()Deprecated.Returns a user-addressed status message to be logged by the calling tool.voidterminate(boolean error)Deprecated.Terminates the filter (internally, all pending traces are processed).Methods inherited from class kieker.tools.trace.analysis.filter.AbstractTraceProcessingFilter
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, 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_EXECUTIONS
public static final java.lang.String INPUT_PORT_NAME_EXECUTIONSDeprecated.This is the name of the input port receiving new executions.- See Also:
- Constant Field Values
-
OUTPUT_PORT_NAME_MESSAGE_TRACE
public static final java.lang.String OUTPUT_PORT_NAME_MESSAGE_TRACEDeprecated.This is the name of the output port delivering the reconstructed message traces.- See Also:
- Constant Field Values
-
OUTPUT_PORT_NAME_EXECUTION_TRACE
public static final java.lang.String OUTPUT_PORT_NAME_EXECUTION_TRACEDeprecated.This is the name of the output port delivering the reconstructed execution traces.- See Also:
- Constant Field Values
-
OUTPUT_PORT_NAME_INVALID_EXECUTION_TRACE
public static final java.lang.String OUTPUT_PORT_NAME_INVALID_EXECUTION_TRACEDeprecated.This is the name of the output port delivering the reconstructed, but invalid executions traces.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_NAME_TIMEUNIT
public static final java.lang.String CONFIG_PROPERTY_NAME_TIMEUNITDeprecated.This is the name of the property determining the used time unit.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_NAME_MAX_TRACE_DURATION
public static final java.lang.String CONFIG_PROPERTY_NAME_MAX_TRACE_DURATIONDeprecated.This is the name of the property determining the maximal duration of a trace.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_NAME_IGNORE_INVALID_TRACES
public static final java.lang.String CONFIG_PROPERTY_NAME_IGNORE_INVALID_TRACESDeprecated.This is the name of the property determining whether to ignore invalid traces or not.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_VALUE_TIMEUNIT
public static final java.lang.String CONFIG_PROPERTY_VALUE_TIMEUNITDeprecated.This is the default used time unit.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_VALUE_MAX_TRACE_DURATION
public static final java.lang.String CONFIG_PROPERTY_VALUE_MAX_TRACE_DURATIONDeprecated.This is the default value for the maximal duration of a trace.- See Also:
- Constant Field Values
-
-
Constructor Details
-
TraceReconstructionFilter
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
-
getInvalidTraces
public java.util.Set<java.lang.Long> getInvalidTraces()Deprecated.Returns a set of the IDs of invalid traces.- Returns:
- a set of the IDs of invalid traces
-
getMinTin
public final long getMinTin()Deprecated.Returns the minimum tin timestamp of a processed execution.- Returns:
- the minimum tin timestamp of a processed execution
-
getMaxTout
public final long getMaxTout()Deprecated.Returns the maximum tout timestamp of a processed execution.- Returns:
- the maximum tout timestamp of a processed execution
-
init
public boolean init()Deprecated.Initiates the start of a component. This method is called once when a AnalysisController's run() method is called. This implementation must not be blocking! Asynchronous consumers would spawn (an) asynchronous thread(s) in this method.- Specified by:
initin interfaceIPlugin- Overrides:
initin classAbstractFilterPlugin- Returns:
- true on success; false otherwise.
-
inputExecutions
Deprecated.This method represents the input port of this filter.- Parameters:
execution- The next execution.
-
getMaxTraceDuration
public final long getMaxTraceDuration()Deprecated.Return the number of timeunits after which a pending trace is considered to have timed out.- Returns:
- the timeout duration for a pending trace in timeunits
-
terminate
public void terminate(boolean error)Deprecated.Terminates the filter (internally, all pending traces are processed).- Specified by:
terminatein interfaceIPlugin- Overrides:
terminatein classAbstractFilterPlugin- Parameters:
error- Determines whether the plugin is terminated due to an error or not.
-
printStatusMessage
public void printStatusMessage()Deprecated.Description copied from class:AbstractTraceProcessingFilterReturns a user-addressed status message to be logged by the calling tool. Extending classes may override this method but should call the then-inherited method first.- Overrides:
printStatusMessagein classAbstractTraceProcessingFilter
-
getCurrentConfiguration
Deprecated.This 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.
-