Class TriggerEveryXthStage
public class TriggerEveryXthStage
extends teetime.stage.basic.AbstractTransformation<Object,Trigger>
This stage sends a
Trigger after every x-th incoming object.- Since:
- 1.14
- Author:
- Sören Henning
-
Field Summary
Fields inherited from class teetime.stage.basic.AbstractTransformation
outputPortFields inherited from class teetime.framework.AbstractConsumerStage
inputPortFields inherited from class teetime.framework.AbstractStage
logger -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class teetime.stage.basic.AbstractTransformation
getOutputPortMethods inherited from class teetime.framework.AbstractConsumerStage
createInputPort, execute, getInputPortMethods 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, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompletedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface teetime.stage.basic.ITransformation
getInputPort
-
Constructor Details
-
TriggerEveryXthStage
public TriggerEveryXthStage(int threshold)
-
-
Method Details
-
execute
- Specified by:
executein classteetime.framework.AbstractConsumerStage<Object>
-