@Deprecated public final class EventRecordTraceReconstructionFilter extends AbstractFilterPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_PROPERTY_NAME_MAX_TRACE_DURATION
Deprecated.
The name of the property determining the maximal trace duration.
|
static java.lang.String |
CONFIG_PROPERTY_NAME_MAX_TRACE_TIMEOUT
Deprecated.
The name of the property determining the maximal trace timeout.
|
static java.lang.String |
CONFIG_PROPERTY_NAME_REPAIR_EVENT_BASED_TRACES
Deprecated.
This is the name of the property determining whether to repair BeforeEvents
with missing AfterEvents (e.g.
|
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_TIME
Deprecated.
The default value of the properties for the maximal trace duration and
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.
The name of the input port receiving the trace records.
|
static java.lang.String |
INPUT_PORT_NAME_TRACE_RECORDS
Deprecated.
The name of the input port receiving the trace records.
|
static java.lang.String |
INPUT_PORT_NAME_TRACEEVENT_RECORDS
Deprecated.
The name of the input port receiving the trace records.
|
static java.lang.String |
OUTPUT_PORT_NAME_TRACE_INVALID
Deprecated.
The name of the output port delivering the invalid traces.
|
static java.lang.String |
OUTPUT_PORT_NAME_TRACE_VALID
Deprecated.
The name of the output port delivering the valid traces.
|
CONFIG_NAME, configuration, logger, projectContext, recordsTimeUnitFromProjectContext
Constructor and Description |
---|
EventRecordTraceReconstructionFilter(Configuration configuration,
IProjectContext projectContext)
Deprecated.
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
getCurrentConfiguration()
Deprecated.
This method should deliver a
Configuration object containing the current configuration of this instance. |
void |
newEvent(IFlowRecord record)
Deprecated.
This method is the input port for the new events for this filter.
|
void |
newEvent(java.lang.Long timestamp)
Deprecated.
This method is the input port for the timeout.
|
void |
newTraceEventRecord(TraceEventRecords traceEventRecords)
Deprecated.
This method is the input port for the new events for this filter.
|
void |
terminate(boolean error)
Deprecated.
Initiates a termination of the plugin.
|
init
areAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, start
getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
public static final java.lang.String OUTPUT_PORT_NAME_TRACE_VALID
public static final java.lang.String OUTPUT_PORT_NAME_TRACE_INVALID
public static final java.lang.String INPUT_PORT_NAME_TRACE_RECORDS
public static final java.lang.String INPUT_PORT_NAME_TRACEEVENT_RECORDS
public static final java.lang.String INPUT_PORT_NAME_TIME_EVENT
public static final java.lang.String CONFIG_PROPERTY_NAME_TIMEUNIT
public static final java.lang.String CONFIG_PROPERTY_NAME_MAX_TRACE_DURATION
public static final java.lang.String CONFIG_PROPERTY_NAME_MAX_TRACE_TIMEOUT
public static final java.lang.String CONFIG_PROPERTY_VALUE_MAX_TIME
public static final java.lang.String CONFIG_PROPERTY_VALUE_TIMEUNIT
public static final java.lang.String CONFIG_PROPERTY_NAME_REPAIR_EVENT_BASED_TRACES
public EventRecordTraceReconstructionFilter(Configuration configuration, IProjectContext projectContext)
configuration
- The configuration for this component.projectContext
- The project context for this component.public void newEvent(java.lang.Long timestamp)
timestamp
- The timestamppublic void newTraceEventRecord(TraceEventRecords traceEventRecords)
traceEventRecords
- The new record to handle.public void newEvent(IFlowRecord record)
record
- The new record to handle.public void terminate(boolean error)
AnalysisController.terminate(boolean)
instead.
After receiving this notification, the plugin should terminate any running
methods, e.g., read for readers.terminate
in interface IPlugin
terminate
in class AbstractFilterPlugin
error
- Determines whether the plugin is terminated due to an error or not.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
Copyright 2021 Kieker Project, http://kieker-monitoring.net