public class PipeReader extends teetime.framework.AbstractProducerStage<IMonitoringRecord> implements IPipeReader
| Constructor and Description |
|---|
PipeReader(java.lang.String pipeName)
Creates a new instance of this class using the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute()
Blocks until the associated pipe is being closed.
|
boolean |
newMonitoringRecord(IMonitoringRecord rec)
This method sends a given records directly to the output port.
|
void |
notifyPipeClosed()
Called to notify the reader that the pipe is closed.
|
void |
terminateStage() |
getOutputPort, getTerminationStrategyabort, 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, toString, workCompletedpublic PipeReader(java.lang.String pipeName)
configuration - The configuration for this component.projectContext - The project context for this component.protected void execute()
execute in class teetime.framework.AbstractStagepublic boolean newMonitoringRecord(IMonitoringRecord rec)
newMonitoringRecord in interface IPipeReaderrec - The new record object.public void notifyPipeClosed()
notifyPipeClosed in interface IPipeReaderpublic void terminateStage()
terminateStage in class teetime.framework.AbstractStageCopyright 2020 Kieker Project, http://kieker-monitoring.net