public final class TraceIdFilter extends AbstractFilterPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_PROPERTY_NAME_SELECT_ALL_TRACES
The name of the property determining whether to accept all traces, regardless of the given trace IDs.
|
static java.lang.String |
CONFIG_PROPERTY_NAME_SELECTED_TRACES
The name of the property determining which trace IDs should be accepted by this filter.
|
static java.lang.String |
INPUT_PORT_NAME_COMBINED
The name of the input port accepting both types of records.
|
static java.lang.String |
INPUT_PORT_NAME_EXECUTION
The name of the input port accepting execution records.
|
static java.lang.String |
INPUT_PORT_NAME_FLOW
The name of the input port accepting flow records.
|
static java.lang.String |
OUTPUT_PORT_NAME_MATCH
The name of the output port delivering the records with matching IDs.
|
static java.lang.String |
OUTPUT_PORT_NAME_MISMATCH
The name of the output port delivering the records with the non matching IDs.
|
CONFIG_NAME, configuration, log, LOG, projectContext, recordsTimeUnitFromProjectContext
Constructor and Description |
---|
TraceIdFilter(Configuration configuration,
IProjectContext projectContext)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
getCurrentConfiguration()
This method should deliver a
Configuration object containing the current configuration of this instance. |
void |
inputCombined(IMonitoringRecord record)
This method represents an input port for both operation execution and flow records.
|
void |
inputOperationExecutionRecord(OperationExecutionRecord record)
This method represents an input port for operation execution records.
|
void |
inputTraceEvent(IFlowRecord record)
This method represents an input port for flow records.
|
init, terminate
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 INPUT_PORT_NAME_FLOW
public static final java.lang.String INPUT_PORT_NAME_EXECUTION
public static final java.lang.String INPUT_PORT_NAME_COMBINED
public static final java.lang.String OUTPUT_PORT_NAME_MATCH
public static final java.lang.String OUTPUT_PORT_NAME_MISMATCH
public static final java.lang.String CONFIG_PROPERTY_NAME_SELECT_ALL_TRACES
public static final java.lang.String CONFIG_PROPERTY_NAME_SELECTED_TRACES
public TraceIdFilter(Configuration configuration, IProjectContext projectContext)
configuration
- The configuration for this component.projectContext
- The project context for this component.public final 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
public void inputCombined(IMonitoringRecord record)
record
- The next record.public void inputTraceEvent(IFlowRecord record)
record
- The next record.public void inputOperationExecutionRecord(OperationExecutionRecord record)
record
- The next record.Copyright 2017 Kieker Project, http://kieker-monitoring.net