akka.routing
Class NoRouter$

java.lang.Object
  extended by akka.routing.NoRouter
      extended by akka.routing.NoRouter$
All Implemented Interfaces:
RouterConfig, java.io.Serializable, scala.Equals, scala.Product

public class NoRouter$
extends NoRouter
implements scala.Product, scala.Serializable

See Also:
Serialized Form

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

MODULE$

public static final NoRouter$ MODULE$
Static reference to the singleton instance of this Scala object.

Constructor Detail

NoRouter$

public NoRouter$()
Method Detail

createRoute

public scala.PartialFunction<scala.Tuple2<ActorRef,java.lang.Object>,scala.collection.immutable.Iterable<Destination>> createRoute(RouteeProvider routeeProvider)
Description copied from interface: RouterConfig
Implement the routing logic by returning a partial function of partial function from (sender, message) to a set of destinations. This 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.

Specified by:
createRoute in interface RouterConfig
Overrides:
createRoute in class NoRouter

routerDispatcher

public java.lang.String routerDispatcher()
Description copied from interface: RouterConfig
Dispatcher ID to use for running the “head” actor, i.e. the Router.

Specified by:
routerDispatcher in interface RouterConfig
Overrides:
routerDispatcher in class NoRouter

supervisorStrategy

public scala.Nothing supervisorStrategy()
Description copied from interface: RouterConfig
SupervisorStrategy for the created Router actor.

Specified by:
supervisorStrategy in interface RouterConfig
Overrides:
supervisorStrategy in class NoRouter

withFallback

public RouterConfig withFallback(RouterConfig other)
Description copied from interface: RouterConfig
Overridable merge strategy, by default completely prefers “this” (i.e. no merge).

Specified by:
withFallback in interface RouterConfig
Overrides:
withFallback in class NoRouter

getInstance

public NoRouter$ getInstance()
Java API: get the singleton instance

Overrides:
getInstance in class NoRouter