public abstract class LinkedWorkerPool extends WorkerPool
| Modifier and Type | Field and Description |
|---|---|
protected akka.actor.ActorRef |
next
Next link in the chain
|
DEFAULTWORKERS, router| Constructor and Description |
|---|
LinkedWorkerPool() |
| Modifier and Type | Method and Description |
|---|---|
akka.actor.ActorRef |
getNext()
Returns the next link in the chain
|
akka.actor.ActorRef |
getNextActor()
Determines the recipient for a message.
|
void |
setNext(akka.actor.ActorRef next)
Sets the next link in the chain
|
void |
shutdown()
Initiates shutdown procedure.
|
void |
tellNextActor(java.lang.Object message)
Sends a message to the next Actor in the chain from this Actor.
|
void |
tellNextActor(java.lang.Object message,
akka.actor.ActorRef sender)
Sends a message to the next Actor in the chain, or to this instance's parent if next is null.
|
genMessage, getRouter, setRouter, start, start, start, tellRouter, tellRouterakka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, getContext, getSelf, getSender, onReceive, postRestart, postStop, preRestart, preStart, receive, self, sender, supervisorStrategy, unhandledpublic akka.actor.ActorRef getNextActor()
public void tellNextActor(java.lang.Object message)
message - message to send to the next Actorpublic void tellNextActor(java.lang.Object message,
akka.actor.ActorRef sender)
message - object to sendsender - sender of the messagepublic akka.actor.ActorRef getNext()
public void setNext(akka.actor.ActorRef next)
next - new nextpublic void shutdown()
shutdown in class WorkerPool