|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.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)
RouterConfig
Route
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 RouterConfig
createRoute
in class NoRouter
public java.lang.String routerDispatcher()
RouterConfig
Router
.
routerDispatcher
in interface RouterConfig
routerDispatcher
in class NoRouter
public scala.Nothing supervisorStrategy()
RouterConfig
supervisorStrategy
in interface RouterConfig
supervisorStrategy
in class NoRouter
public RouterConfig withFallback(RouterConfig other)
RouterConfig
withFallback
in interface RouterConfig
withFallback
in class NoRouter
public NoRouter$ getInstance()
getInstance
in class NoRouter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |