Package org.apache.pekko.routing
Class NoRouter
- java.lang.Object
-
- org.apache.pekko.routing.NoRouter
-
- All Implemented Interfaces:
java.io.Serializable
,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.- 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 boolean
canEqual(java.lang.Object x$1)
static Router
createRouter(ActorSystem system)
abstract static boolean
equals(java.lang.Object that)
static NoRouter$
getInstance()
Java API: get the singleton instancestatic int
hashCode()
static boolean
isManagementMessage(java.lang.Object msg)
static int
productArity()
static java.lang.Object
productElement(int x$1)
static java.lang.String
productElementName(int n)
static scala.collection.Iterator<java.lang.String>
productElementNames()
static scala.collection.Iterator<java.lang.Object>
productIterator()
static java.lang.String
productPrefix()
static Props
props(Props routeeProps)
static java.lang.String
routerDispatcher()
static scala.Option<Props>
routingLogicController(RoutingLogic routingLogic)
static boolean
stopRouterWhenAllRouteesRemoved()
static java.lang.String
toString()
static void
verifyConfig(ActorPath path)
static RouterConfig
withFallback(RouterConfig other)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.pekko.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()
-
-