public class RunnableBackedBlockingActor extends BlockingActor
| Modifier and Type | Class and Description |
|---|---|
private static class |
RunnableBackedBlockingActor.RunnableBackedPooledActorDelegate |
Actor.MyRemoteHandle, Actor.RemoteActorMessageStream.RemoteMessageStream, MessageStream.SendTo| Modifier and Type | Field and Description |
|---|---|
private java.lang.Runnable |
action |
private static long |
serialVersionUID |
AN_ACTOR_CAN_ONLY_RECEIVE_ONE_MESSAGE_AT_A_TIMES_ACTIVE_MASK, S_FINISHED_MASK, S_FINISHING_MASK, S_NOT_STARTED, S_RUNNING, S_STOP_TERMINATE_MASK, S_STOPPED, S_STOPPING, S_TERMINATED, S_TERMINATING, stopFlag, stopFlagUpdaterACTOR_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 |
|---|
RunnableBackedBlockingActor(java.lang.Runnable handler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
act()
This method represents the body of the actor.
|
protected void |
setAction(java.lang.Runnable handler) |
handleStart, receive, receive, receive, receiveImpl, receiveImplcheckStopTerminate, handleTermination, hasBeenStopped, isActive, pollMessage, receive, receive, receive, run, send, setParallelGroup, silentStart, start, stop, sweepNextMessage, takeMessage, takeMessage, terminategetSender, reply, replyIfExists, setSendercreateActorMessage, createRemoteHandle, deregisterCurrentActorWithThread, getJoinLatch, getParallelGroup, handleException, handleInterrupt, handleTimeout, isActorThread, join, join, join, join, onStop, registerCurrentActorWithThread, sendAndContinue, sendAndPromise, threadBoundActorcall, getRemoteClass, leftShift, reInterrupt, send, send, sendAndWait, sendAndWait, sendAndWaitgetOrCreateSerialHandle, writeReplaceprivate static final long serialVersionUID
private java.lang.Runnable action
public RunnableBackedBlockingActor(java.lang.Runnable handler)
protected final void setAction(java.lang.Runnable handler)
protected final void act()
SequentialProcessingActorActor's
message handling code.act in class SequentialProcessingActor