Class 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
  • Field Details

  • Constructor Details

    • TraceReconstructionFilter

      public TraceReconstructionFilter​(Configuration configuration, IProjectContext projectContext)
      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:
      init in interface IPlugin
      Overrides:
      init in class AbstractFilterPlugin
      Returns:
      true on success; false otherwise.
    • inputExecutions

      public void inputExecutions​(Execution execution)
      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:
      terminate in interface IPlugin
      Overrides:
      terminate in class AbstractFilterPlugin
      Parameters:
      error - Determines whether the plugin is terminated due to an error or not.
    • printStatusMessage

      public void printStatusMessage()
      Deprecated.
      Description copied from class: AbstractTraceProcessingFilter
      Returns 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:
      printStatusMessage in class AbstractTraceProcessingFilter
    • getCurrentConfiguration

      public Configuration getCurrentConfiguration()
      Deprecated.
      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.