Class TriggerOnTerminationStage<T>
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<I>
teetime.stage.basic.AbstractTransformation<java.lang.Object,T>
kieker.analysis.util.stage.trigger.TriggerOnTerminationStage<T>
- Type Parameters:
T
- object to be sent as trigger message
- All Implemented Interfaces:
teetime.stage.basic.ITransformation<java.lang.Object,T>
public class TriggerOnTerminationStage<T>
extends teetime.stage.basic.AbstractTransformation<java.lang.Object,T>
This stage sends a
Trigger
after the terminating signal was received.- Since:
- 1.14
- Author:
- Sören Henning
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TriggerOnTerminationStage(T trigger)
-
Method Summary
Modifier and Type Method Description protected void
execute(java.lang.Object object)
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
-
Constructor Details
-
Method Details
-
execute
protected void execute(java.lang.Object object)- Specified by:
execute
in classteetime.framework.AbstractConsumerStage<java.lang.Object>
-
onTerminating
protected void onTerminating()- Overrides:
onTerminating
in classteetime.framework.AbstractStage
-