Package kieker.analysis.util.stage
Class FunctionStage<I,O>
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<I>
teetime.stage.basic.AbstractTransformation<I,O>
kieker.analysis.util.stage.FunctionStage<I,O>
- Type Parameters:
I- Type of input elementsO- Type of output elements
- All Implemented Interfaces:
teetime.stage.basic.ITransformation<I,O>
public class FunctionStage<I,O>
extends teetime.stage.basic.AbstractTransformation<I,O>
Stage that maps the elements from its input port to its output port by using a
Function.- Since:
- 1.14
- Author:
- Sören Henning
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FunctionStage(java.util.function.Function<I,O> function) -
Method Summary
Modifier and Type Method Description protected voidexecute(I element)java.util.function.Function<I,O>getFunction()voidsetFunction(java.util.function.Function<I,O> function)Methods 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, workCompleted
-
Constructor Details
-
Method Details
-
getFunction
-
setFunction
-
execute
- Specified by:
executein classteetime.framework.AbstractConsumerStage<I>
-