|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SmallestMailboxLike
The core pieces of the routing logic is located in this trait to be able to extend.
Method Summary | |
---|---|
scala.PartialFunction<scala.Tuple2<ActorRef,java.lang.Object>,scala.collection.immutable.Iterable<Destination>> |
createRoute(RouteeProvider routeeProvider)
|
boolean |
hasMessages(ActorRef a)
Returns true if the actor currently has any pending messages in the mailbox, i.e. |
boolean |
isProcessingMessage(ActorRef a)
Returns true if the actor is currently processing a message. |
boolean |
isSuspended(ActorRef a)
Returns true if the actor is currently suspended. |
int |
nrOfInstances()
|
int |
numberOfMessages(ActorRef a)
Returns the number of pending messages in the mailbox of the actor. |
scala.collection.immutable.Iterable<java.lang.String> |
routees()
|
Method Detail |
---|
int nrOfInstances()
scala.collection.immutable.Iterable<java.lang.String> routees()
boolean isProcessingMessage(ActorRef a)
boolean hasMessages(ActorRef a)
boolean isSuspended(ActorRef a)
int numberOfMessages(ActorRef a)
scala.PartialFunction<scala.Tuple2<ActorRef,java.lang.Object>,scala.collection.immutable.Iterable<Destination>> createRoute(RouteeProvider routeeProvider)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |