public abstract class AbstractTraceProcessingFilter extends AbstractTraceAnalysisFilter
IPlugin.PluginInputPortReference, IPlugin.STATE
CONFIG_PROPERTY_VALUE_VERBOSE, LOGGER, REPOSITORY_PORT_NAME_SYSTEM_MODEL
CONFIG_NAME, configuration, logger, projectContext, recordsTimeUnitFromProjectContext
Constructor and Description |
---|
AbstractTraceProcessingFilter(Configuration configuration,
IProjectContext projectContext)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCount()
Delivers the number of traces which have not been processed successfully.
|
long |
getLastTraceIdError()
Delivers the ID of the last trace which has not been processed successfully.
|
long |
getLastTraceIdSuccess()
Delivers the ID of the last trace which has been processed successfully.
|
int |
getSuccessCount()
Delivers the number of traces which have been processed successfully.
|
int |
getTotalCount()
Delivers the total number of traces which have been processed.
|
void |
printStatusMessage()
Returns a user-addressed status message to be logged by the calling tool.
|
protected void |
reportError(long traceId)
This method can be used to report a trace which has not been processed successfully.
|
protected void |
reportSuccess(long traceId)
This method can be used to report a trace which has been processed successfully.
|
createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getCurrentConfiguration, getSystemEntityFactory, printDebugLogMessage, printErrorLogMessage
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 AbstractTraceProcessingFilter(Configuration configuration, IProjectContext projectContext)
configuration
- The configuration for this component.projectContext
- The project context for this component.protected final void reportSuccess(long traceId)
traceId
- The ID of the processed trace.protected final void reportError(long traceId)
traceId
- The ID of the processed trace.public final int getSuccessCount()
public final int getErrorCount()
public final int getTotalCount()
public final long getLastTraceIdError()
public final long getLastTraceIdSuccess()
public void printStatusMessage()
Copyright 2020 Kieker Project, http://kieker-monitoring.net