Class TimeReaderStage
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractProducerStage<Long>
kieker.analysis.generic.source.time.TimeReaderStage
This plugin provides the current (system) time in regular intervals. The time is delivered to the two output ports as both a timestamp and a
The reader can be configured to emit an arbitrary amount of signals. It can also be configured to emit an infinite amount of signals.
The sent timestamps are created using
TimestampRecord instance.The reader can be configured to emit an arbitrary amount of signals. It can also be configured to emit an infinite amount of signals.
The sent timestamps are created using
System.nanoTime() as a time source, which is being converted to the global time unit.
Note: This stage is only provided for porting purposes. It is highly recommended to use the @{link TimeSourceStage} instead.- Since:
- 1.8
- Author:
- Nils Christian Ehmke, Reiner Jung -- teetime port
-
Field Summary
Fields inherited from class teetime.framework.AbstractProducerStage
outputPortFields inherited from class teetime.framework.AbstractStage
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute()teetime.framework.OutputPort<TimestampRecord>Methods inherited from class teetime.framework.AbstractProducerStage
getOutputPort, getTerminationStrategyMethods inherited from class teetime.framework.AbstractStage
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
-
Constructor Details
-
TimeReaderStage
-
-
Method Details
-
execute
- Specified by:
executein classteetime.framework.AbstractStage- Throws:
Exception
-
getTimestampsRecordOutputPort
-