akka.routing
Class NoRouter
java.lang.Object
akka.routing.NoRouter
- All Implemented Interfaces:
- RouterConfig, java.io.Serializable
- 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.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoRouter
public NoRouter()
createRouter
public static Router createRouter(ActorSystem system)
routerDispatcher
public static java.lang.String routerDispatcher()
withFallback
public static RouterConfig withFallback(RouterConfig other)
getInstance
public static NoRouter$ getInstance()
- Java API: get the singleton instance
props
public static Props props(Props routeeProps)