public class EventRecordTraceCounter extends AbstractTraceProcessingFilter
TraceEventRecords.IPlugin.PluginInputPortReference, IPlugin.STATE| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_PROPERTY_NAME_LOG_INVALID
This is the name of the configuration determining whether to log invalid traces or not.
|
static java.lang.String |
INPUT_PORT_NAME_INVALID
This is the name of the input port receiving invalid record traces.
|
static java.lang.String |
INPUT_PORT_NAME_VALID
This is the name of the input port receiving valid record traces.
|
CONFIG_PROPERTY_VALUE_VERBOSE, LOG, REPOSITORY_PORT_NAME_SYSTEM_MODELCONFIG_NAME, configuration, log, projectContext, recordsTimeUnitFromProjectContext| Constructor and Description |
|---|
EventRecordTraceCounter(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 |
inputInvalidTrace(TraceEventRecords invalidTrace)
This method represents the input port for the invalid traces.
|
void |
inputValidTrace(TraceEventRecords validTrace)
This method represents the input port for the valid traces.
|
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, printStatusMessage, reportError, reportSuccesscreateExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemEntityFactory, printDebugLogMessage, printErrorLogMessageinit, terminateareAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, startgetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getStatepublic static final java.lang.String INPUT_PORT_NAME_VALID
public static final java.lang.String INPUT_PORT_NAME_INVALID
public static final java.lang.String CONFIG_PROPERTY_NAME_LOG_INVALID
public EventRecordTraceCounter(Configuration configuration, IProjectContext projectContext)
configuration - The configuration for this component.projectContext - The project context for this component.public Configuration getCurrentConfiguration()
AbstractAnalysisComponentConfiguration 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 IAnalysisComponentgetCurrentConfiguration in interface IPlugingetCurrentConfiguration in class AbstractTraceAnalysisFilterpublic void inputValidTrace(TraceEventRecords validTrace)
validTrace - The next trace.public void inputInvalidTrace(TraceEventRecords invalidTrace)
invalidTrace - The next trace.Copyright 2017 Kieker Project, http://kieker-monitoring.net