public final class InstanceOfFilter<I,O extends I> extends AbstractConsumerStage<I>
inputPort
logger
Constructor and Description |
---|
InstanceOfFilter(Class<O> type) |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(I element)
Contains the logic of this stage and is invoked (possibly multiple times) by the framework.
|
OutputPort<O> |
getMatchedOutputPort() |
OutputPort<I> |
getMismatchedOutputPort() |
OutputPort<O> |
getOutputPort()
Deprecated.
Since 1.1. Use
getMatchedOutputPort() instead. |
Class<O> |
getType() |
void |
setType(Class<O> type) |
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(I element)
AbstractConsumerStage
execute
in class AbstractConsumerStage<I>
element
- the next non-null element from the (only) input port of this stage@Deprecated public OutputPort<O> getOutputPort()
getMatchedOutputPort()
instead.public OutputPort<O> getMatchedOutputPort()
public OutputPort<I> getMismatchedOutputPort()
Copyright © 2015–2020. All rights reserved.