class DataflowSelectorActor extends DataflowProcessorActor
Iteratively waits for values on the inputs. Once all a value is available (received as a message), the selector's body is run.
MessageStream.RemoteMessageStream, MessageStream.SendTo| Modifier and Type | Field and Description |
|---|---|
protected boolean |
passIndex |
CANNOT_OBTAIN_THE_SEMAPHORE_TO_FORK_OPERATOR_S_BODY, code, inputs, outputs, owningProcessor, stoppingGentlyACTOR_HAS_ALREADY_BEEN_STARTED, CANNOT_SEND_REPLIES_NO_SENDER_HAS_BEEN_REGISTERED, currentThread, parallelGroup, START_MESSAGE, STOP_MESSAGE, TERMINATE_MESSAGE, TIMEOUT, TIMEOUT_MESSAGE, timerserialHandle| Constructor and Description |
|---|
DataflowSelectorActor(DataflowSelector owningOperator,
PGroup group,
java.util.List outputs,
java.util.List inputs,
groovy.lang.Closure code) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
afterStart() |
private void |
handlePoisonPillInSelector(int index,
java.lang.Object value) |
void |
onMessage(java.lang.Object message)
All messages unhandled by sub-classes will result in an exception being thrown
|
(package private) void |
startTask(int index,
java.lang.Object result) |
afterStop, checkPoison, fireMessageArrived, forwardPoisonPill, isControlMessage, onException, registerChannelListenersToAllInputs, reportException, sendgetSender, hasBeenStopped, initialize, isActive, isFair, makeFair, reply, replyIfExists, setParallelGroup, setTimeout, silentStart, start, stop, sweepNextMessage, terminatecreateActorMessage, createRemoteHandle, deregisterCurrentActorWithThread, getJoinLatch, getParallelGroup, handleException, handleInterrupt, handleStart, handleTermination, handleTimeout, isActorThread, join, join, join, join, onStop, registerCurrentActorWithThread, sendAndContinue, sendAndPromise, threadBoundActorcall, getRemoteClass, leftShift, send, send, sendAndWait, sendAndWait, sendAndWaitgetOrCreateSerialHandle, writeReplaceDataflowSelectorActor(DataflowSelector owningOperator, PGroup group, java.util.List outputs, java.util.List inputs, groovy.lang.Closure code)
final void afterStart()
afterStart in class DataflowProcessorActorpublic final void onMessage(java.lang.Object message)
DataflowProcessorActoronMessage in class DataflowProcessorActormessage - The unhandled messageprivate void handlePoisonPillInSelector(int index,
java.lang.Object value)
void startTask(int index,
java.lang.Object result)