final class ForkingDataflowOperatorActor extends DataflowOperatorActor
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 |
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 |
---|
ForkingDataflowOperatorActor(DataflowOperator 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(java.util.List<java.lang.Object> results) |
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
ForkingDataflowOperatorActor(DataflowOperator owningOperator, PGroup group, java.util.List outputs, java.util.List inputs, groovy.lang.Closure code, int maxForks)
void startTask(java.util.List<java.lang.Object> results)
startTask
in class DataflowOperatorActor
protected void forwardPoisonPill(java.lang.Object data)
forwardPoisonPill
in class DataflowProcessorActor