Package kieker.analysis.generic.sink
Class NullSink
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<java.lang.Object>
kieker.analysis.generic.sink.NullSink
public class NullSink
extends teetime.framework.AbstractConsumerStage<java.lang.Object>
Act like a null device.
- Since:
- 1.15
- Author:
- Reiner Jung
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_REPORT_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected void
execute(java.lang.Object record)
long
getCount()
java.util.Map<java.lang.Class<? extends java.lang.Object>,java.lang.Integer>
getTypes()
protected void
onTerminating()
Methods inherited from class teetime.framework.AbstractConsumerStage
createInputPort, execute, getInputPort
Methods inherited from class teetime.framework.AbstractStage
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, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
-
Field Details
-
DEFAULT_REPORT_INTERVAL
public static final int DEFAULT_REPORT_INTERVAL- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
onTerminating
protected void onTerminating()- Overrides:
onTerminating
in classteetime.framework.AbstractStage
-
execute
protected void execute(java.lang.Object record)- Specified by:
execute
in classteetime.framework.AbstractConsumerStage<java.lang.Object>
-
getCount
public long getCount() -
getTypes
public java.util.Map<java.lang.Class<? extends java.lang.Object>,java.lang.Integer> getTypes()
-