@Deprecated
public class EventRecordTraceCounter
extends teetime.framework.AbstractStage
TraceEventRecords.| Constructor and Description |
|---|
EventRecordTraceCounter(boolean logInvalidTraces)
Deprecated.
Creates a new instance of this class using the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute()
Deprecated.
|
int |
getErrorCount()
Deprecated.
Delivers the number of traces which have not been processed
successfully.
|
teetime.framework.InputPort<TraceEventRecords> |
getInvalidEventRecordTraceInputPort()
Deprecated.
|
long |
getLastTraceIdError()
Deprecated.
Delivers the ID of the last trace which has not been processed
successfully.
|
long |
getLastTraceIdSuccess()
Deprecated.
Delivers the ID of the last trace which has been processed successfully.
|
int |
getSuccessCount()
Deprecated.
Delivers the number of traces which have been processed successfully.
|
int |
getTotalCount()
Deprecated.
Delivers the total number of traces which have been processed.
|
teetime.framework.InputPort<TraceEventRecords> |
getValidEventRecordTraceInputPort()
Deprecated.
|
void |
printStatusMessage()
Deprecated.
Returns a user-addressed status message to be logged by the calling tool.
|
protected void |
reportError(long traceId)
Deprecated.
This method can be used to report a trace which has not been processed
successfully.
|
protected void |
reportSuccess(long traceId)
Deprecated.
This method can be used to report a trace which has been processed
successfully.
|
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompletedpublic EventRecordTraceCounter(boolean logInvalidTraces)
logInvalidTraces - if true invalid traces are logged in the error logprotected void execute()
throws java.lang.Exception
execute in class teetime.framework.AbstractStagejava.lang.Exceptionprotected 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 teetime.framework.InputPort<TraceEventRecords> getInvalidEventRecordTraceInputPort()
public teetime.framework.InputPort<TraceEventRecords> getValidEventRecordTraceInputPort()
public final int getSuccessCount()
public final int getErrorCount()
public final int getTotalCount()
public final long getLastTraceIdError()
public final long getLastTraceIdSuccess()
public void printStatusMessage()
Copyright 2021 Kieker Project, http://kieker-monitoring.net