|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.traceReconstruction.TraceReconstructionFilter
public class TraceReconstructionFilter
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin |
---|
IPlugin.PluginInputPortReference, IPlugin.STATE |
Field Summary | |
---|---|
static String |
CONFIG_PROPERTY_NAME_IGNORE_INVALID_TRACES
This is the name of the property determining whether to ignore invalid traces or not. |
static String |
CONFIG_PROPERTY_NAME_MAX_TRACE_DURATION
This is the name of the property determining the maximal duration of a trace. |
static String |
CONFIG_PROPERTY_NAME_TIMEUNIT
This is the name of the property determining the used time unit. |
static String |
CONFIG_PROPERTY_VALUE_MAX_TRACE_DURATION
This is the default value for the maximal duration of a trace. |
static String |
CONFIG_PROPERTY_VALUE_TIMEUNIT
This is the default used time unit. |
static String |
INPUT_PORT_NAME_EXECUTIONS
This is the name of the input port receiving new executions. |
static String |
OUTPUT_PORT_NAME_EXECUTION_TRACE
This is the name of the output port delivering the reconstructed execution traces. |
static String |
OUTPUT_PORT_NAME_INVALID_EXECUTION_TRACE
This is the name of the output port delivering the reconstructed, but invalid executions traces. |
static String |
OUTPUT_PORT_NAME_MESSAGE_TRACE
This is the name of the output port delivering the reconstructed message traces. |
Fields inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter |
---|
REPOSITORY_PORT_NAME_SYSTEM_MODEL |
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent |
---|
CONFIG_NAME |
Constructor Summary | |
---|---|
TraceReconstructionFilter(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. 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. |
Set<Long> |
getInvalidTraces()
Returns a set of the IDs of invalid traces. |
long |
getMaxTout()
Returns the maximum tout timestamp of a processed execution. |
long |
getMaxTraceDuration()
Return the number of timeunits after which a pending trace is considered to have timed out. |
long |
getMinTin()
Returns the minimum tin timestamp of a processed execution. |
boolean |
init()
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. |
void |
inputExecutions(Execution execution)
This method represents the input port of this filter. |
void |
printStatusMessage()
Returns a user-addressed status message to be logged by the calling tool. |
void |
terminate(boolean error)
Terminates the filter (internally, all pending traces are processed). |
Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter |
---|
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount |
Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter |
---|
createExecutionByEntityNames, createExecutionByEntityNames, getSystemEntityFactory, setErrStream, setOutStream |
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 |
---|
public static final String INPUT_PORT_NAME_EXECUTIONS
public static final String OUTPUT_PORT_NAME_MESSAGE_TRACE
public static final String OUTPUT_PORT_NAME_EXECUTION_TRACE
public static final String OUTPUT_PORT_NAME_INVALID_EXECUTION_TRACE
public static final String CONFIG_PROPERTY_NAME_TIMEUNIT
public static final String CONFIG_PROPERTY_NAME_MAX_TRACE_DURATION
public static final String CONFIG_PROPERTY_NAME_IGNORE_INVALID_TRACES
public static final String CONFIG_PROPERTY_VALUE_TIMEUNIT
public static final String CONFIG_PROPERTY_VALUE_MAX_TRACE_DURATION
Constructor Detail |
---|
public TraceReconstructionFilter(Configuration configuration, IProjectContext projectContext)
configuration
- The configuration for this component.projectContext
- The project context for this component.Method Detail |
---|
public Set<Long> getInvalidTraces()
public final long getMinTin()
public final long getMaxTout()
public boolean init()
init
in interface IPlugin
init
in class AbstractFilterPlugin
public void inputExecutions(Execution execution)
execution
- The next execution.public final long getMaxTraceDuration()
public void terminate(boolean error)
terminate
in interface IPlugin
terminate
in class AbstractFilterPlugin
error
- Determines whether the plugin is terminated due to an error or not.public void printStatusMessage()
AbstractTraceProcessingFilter
printStatusMessage
in class AbstractTraceProcessingFilter
public Configuration getCurrentConfiguration()
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.
getCurrentConfiguration
in interface IAnalysisComponent
getCurrentConfiguration
in interface IPlugin
getCurrentConfiguration
in class AbstractAnalysisComponent
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |