Package 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
-
-
Constructor Summary
Constructors Constructor Description NoRouter()
-
Method Summary
All Methods Static Methods Abstract Methods Concrete Methods Modifier and Type Method Description static booleancanEqual(java.lang.Object x$1)static RoutercreateRouter(ActorSystem system)abstract static booleanequals(java.lang.Object that)static NoRouter$getInstance()Java API: get the singleton instancestatic inthashCode()static booleanisManagementMessage(java.lang.Object msg)static intproductArity()static java.lang.ObjectproductElement(int x$1)static java.lang.StringproductElementName(int n)static scala.collection.Iterator<java.lang.String>productElementNames()static scala.collection.Iterator<java.lang.Object>productIterator()static java.lang.StringproductPrefix()static Propsprops(Props routeeProps)static java.lang.StringrouterDispatcher()static scala.Option<Props>routingLogicController(RoutingLogic routingLogic)static booleanstopRouterWhenAllRouteesRemoved()static java.lang.StringtoString()static voidverifyConfig(ActorPath path)static RouterConfigwithFallback(RouterConfig other)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.routing.RouterConfig
createRouter, createRouterActor, isManagementMessage, routerDispatcher, routingLogicController, stopRouterWhenAllRouteesRemoved, verifyConfig, withFallback
-
-
-
-
Method Detail
-
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
-
productPrefix
public static java.lang.String productPrefix()
-
productArity
public static int productArity()
-
productElement
public static java.lang.Object productElement(int x$1)
-
productIterator
public static scala.collection.Iterator<java.lang.Object> productIterator()
-
canEqual
public static boolean canEqual(java.lang.Object x$1)
-
hashCode
public static int hashCode()
-
toString
public static java.lang.String toString()
-
routingLogicController
public static scala.Option<Props> routingLogicController(RoutingLogic routingLogic)
-
isManagementMessage
public static boolean isManagementMessage(java.lang.Object msg)
-
stopRouterWhenAllRouteesRemoved
public static boolean stopRouterWhenAllRouteesRemoved()
-
verifyConfig
public static void verifyConfig(ActorPath path)
-
equals
public abstract static boolean equals(java.lang.Object that)
-
productElementName
public static java.lang.String productElementName(int n)
-
productElementNames
public static scala.collection.Iterator<java.lang.String> productElementNames()
-
-