public class Merger<T> extends AbstractStage
getNewInputPort()
.+---------------------------+ | | +---+ | | | +-----------+ | +---+ | | | | | | +---+ . . . . ---+-------> | | | +---+ | | | +---+ | | | | +-----------+ | +---+ | | | +---------------------------+
logger
Constructor and Description |
---|
Merger()
A merger using the
NonBlockingFiniteRoundRobinStrategy }. |
Merger(IMergerStrategy strategy) |
Modifier and Type | Method and Description |
---|---|
protected void |
execute()
Contains the logic of this stage and is invoked (possibly multiple times) by the framework.
|
List<InputPort<?>> |
getInputPorts() |
InputPort<T> |
getNewInputPort() |
OutputPort<T> |
getOutputPort() |
IMergerStrategy |
getStrategy() |
void |
setStrategy(IMergerStrategy strategy) |
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
public Merger()
NonBlockingFiniteRoundRobinStrategy
}.public Merger(IMergerStrategy strategy)
protected void execute()
AbstractStage
execute
in class AbstractStage
public void setStrategy(IMergerStrategy strategy)
public IMergerStrategy getStrategy()
public List<InputPort<?>> getInputPorts()
getInputPorts
in class AbstractStage
public OutputPort<T> getOutputPort()
Copyright © 2015–2020. All rights reserved.