|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectakka.routing.NoRouter
akka.routing.NoRouter$
public class NoRouter$
| Field Summary | |
|---|---|
static NoRouter$ |
MODULE$
Static reference to the singleton instance of this Scala object. |
| Constructor Summary | |
|---|---|
NoRouter$()
|
|
| Method Summary | |
|---|---|
scala.PartialFunction<scala.Tuple2<ActorRef,java.lang.Object>,scala.collection.immutable.Iterable<Destination>> |
createRoute(RouteeProvider routeeProvider)
Implement the routing logic by returning a partial function of partial function from (sender, message) to a set of destinations. |
NoRouter$ |
getInstance()
Java API: get the singleton instance |
java.lang.String |
routerDispatcher()
Dispatcher ID to use for running the “head” actor, i.e. |
scala.Nothing |
supervisorStrategy()
SupervisorStrategy for the created Router actor. |
RouterConfig |
withFallback(RouterConfig other)
Overridable merge strategy, by default completely prefers “this” (i.e. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface scala.Product |
|---|
productArity, productElement, productIterator, productPrefix |
| Methods inherited from interface scala.Equals |
|---|
canEqual, equals |
| Methods inherited from interface akka.routing.RouterConfig |
|---|
createActor, createRouteeProvider, resizer, stopRouterWhenAllRouteesRemoved, toAll, verifyConfig |
| Field Detail |
|---|
public static final NoRouter$ MODULE$
| Constructor Detail |
|---|
public NoRouter$()
| Method Detail |
|---|
public scala.PartialFunction<scala.Tuple2<ActorRef,java.lang.Object>,scala.collection.immutable.Iterable<Destination>> createRoute(RouteeProvider routeeProvider)
RouterConfigRoute will be applied for each incoming message.
When createRoute is called the routees should also be registered,
typically by using createRoutees or registerRouteesFor of the
supplied RouteeProvider.
createRoute in interface RouterConfigcreateRoute in class NoRouterpublic java.lang.String routerDispatcher()
RouterConfigRouter.
routerDispatcher in interface RouterConfigrouterDispatcher in class NoRouterpublic scala.Nothing supervisorStrategy()
RouterConfig
supervisorStrategy in interface RouterConfigsupervisorStrategy in class NoRouterpublic RouterConfig withFallback(RouterConfig other)
RouterConfig
withFallback in interface RouterConfigwithFallback in class NoRouterpublic NoRouter$ getInstance()
getInstance in class NoRouter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||