public final class CountingFilter
extends teetime.framework.AbstractConsumerStage<java.lang.Object>
Constructor and Description |
---|
CountingFilter()
Creates a new instance of this class and sets the time stamp of initialization.
|
Modifier and Type | Method and Description |
---|---|
protected void |
execute(java.lang.Object event)
This method represents the input port of this filter.
|
long |
getMessageCount()
Returns the number of objects received until now.
|
PlainText |
plainTextDisplay() |
XYPlot |
xyPlotDisplay() |
createInputPort, execute, getInputPort
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, 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, workCompleted
public CountingFilter()
public final long getMessageCount()
protected void execute(java.lang.Object event)
execute
in class teetime.framework.AbstractConsumerStage<java.lang.Object>
event
- The next event.public final PlainText plainTextDisplay()
public final XYPlot xyPlotDisplay()
Copyright 2020 Kieker Project, http://kieker-monitoring.net