akka.routing
Class NoRouter
java.lang.Object
akka.routing.NoRouter
- All Implemented Interfaces:
- RouterConfig
- Direct Known Subclasses:
- NoRouter$
public abstract class NoRouter
- extends java.lang.Object
- implements RouterConfig
Routing configuration that indicates no routing; this is also the default
value which hence overrides the merge strategy in order to accept values
from lower-precedence sources. The decision whether or not to create a
router is taken in the LocalActorRefProvider based on Props.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoRouter
public NoRouter()
createRoute
public static scala.PartialFunction<scala.Tuple2<ActorRef,java.lang.Object>,scala.collection.immutable.Iterable<Destination>> createRoute(RouteeProvider routeeProvider)
routerDispatcher
public static java.lang.String routerDispatcher()
supervisorStrategy
public static scala.Nothing supervisorStrategy()
withFallback
public static RouterConfig withFallback(RouterConfig other)
getInstance
public static NoRouter$ getInstance()
- Java API: get the singleton instance