final class ForkingDataflowSelectorActor extends DataflowSelectorActor
Actor.MyRemoteHandle, Actor.RemoteActor
MessageStream.RemoteMessageStream, MessageStream.SendTo
Modifier and Type | Field and Description |
---|---|
private int |
maxForks |
private java.util.concurrent.Semaphore |
semaphore |
private Pool |
threadPool |
passIndex
CANNOT_OBTAIN_THE_SEMAPHORE_TO_FORK_OPERATOR_S_BODY, code, inputs, outputs, owningProcessor, stoppingGently
ACTOR_HAS_ALREADY_BEEN_STARTED, CANNOT_SEND_REPLIES_NO_SENDER_HAS_BEEN_REGISTERED, currentThread, parallelGroup, START_MESSAGE, STOP_MESSAGE, TERMINATE_MESSAGE, TIMEOUT, TIMEOUT_MESSAGE, timer
serialHandle
Constructor and Description |
---|
ForkingDataflowSelectorActor(DataflowSelector owningOperator,
PGroup group,
java.util.List outputs,
java.util.List inputs,
groovy.lang.Closure code,
int maxForks) |
Modifier and Type | Method and Description |
---|---|
protected void |
forwardPoisonPill(java.lang.Object data) |
(package private) void |
startTask(int index,
java.lang.Object result) |
afterStart, onMessage
afterStop, checkPoison, fireMessageArrived, isControlMessage, onException, registerChannelListenersToAllInputs, reportException, send
getSender, hasBeenStopped, initialize, isActive, isFair, makeFair, reply, replyIfExists, setParallelGroup, setTimeout, silentStart, start, stop, sweepNextMessage, terminate
createActorMessage, createRemoteHandle, deregisterCurrentActorWithThread, getJoinLatch, getParallelGroup, handleException, handleInterrupt, handleStart, handleTermination, handleTimeout, isActorThread, join, join, join, join, onStop, registerCurrentActorWithThread, sendAndContinue, sendAndPromise, threadBoundActor
call, getRemoteClass, leftShift, send, send, sendAndWait, sendAndWait, sendAndWait
getOrCreateSerialHandle, writeReplace
private final java.util.concurrent.Semaphore semaphore
private final Pool threadPool
private final int maxForks
ForkingDataflowSelectorActor(DataflowSelector owningOperator, PGroup group, java.util.List outputs, java.util.List inputs, groovy.lang.Closure code, int maxForks)
void startTask(int index, java.lang.Object result)
startTask
in class DataflowSelectorActor
protected void forwardPoisonPill(java.lang.Object data)
forwardPoisonPill
in class DataflowProcessorActor