T
- the type of the elementspublic class ResponsiveProducer<T> extends AbstractProducerStage<T>
InitialElementProducer
outputPort
logger
Constructor and Description |
---|
ResponsiveProducer(Collection<T> elements) |
ResponsiveProducer(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.
|
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 ResponsiveProducer(T... elements)
public ResponsiveProducer(Collection<T> elements)
protected void execute() throws Exception
AbstractStage
execute
in class AbstractStage
Exception
- arbitrary exception triggered by the logic of this stageCopyright © 2015–2020. All rights reserved.