T
- the type of the elementspublic class InitialElementProducer<T> extends AbstractProducerStage<T>
ResponsiveProducer
outputPort
logger
Constructor and Description |
---|
InitialElementProducer(Collection<T> elements) |
InitialElementProducer(T... elements) |
Modifier and Type | Method and Description |
---|---|
protected void |
execute()
Contains the logic of this stage and is invoked (possibly multiple times) by the framework.
|
Collection<T> |
getElements() |
getOutputPort, getTerminationStrategy
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
@SafeVarargs public InitialElementProducer(T... elements)
public InitialElementProducer(Collection<T> elements)
protected void execute()
AbstractStage
execute
in class AbstractStage
public Collection<T> getElements()
Copyright © 2015–2020. All rights reserved.