T
- Key type of the map to be sentpublic final class CountingMapMerger<T> extends AbstractConsumerStage<CountingMap<T>>
inputPort
logger
Constructor and Description |
---|
CountingMapMerger() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(CountingMap<T> element)
Contains the logic of this stage and is invoked (possibly multiple times) by the framework.
|
CountingMap<T> |
getResult() |
createInputPort, execute, getInputPort
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
protected void execute(CountingMap<T> element)
AbstractConsumerStage
execute
in class AbstractConsumerStage<CountingMap<T>>
element
- the next non-null element from the (only) input port of this stagepublic CountingMap<T> getResult()
Copyright © 2015–2020. All rights reserved.