Class NoRouter

java.lang.Object
org.apache.pekko.routing.NoRouter
All Implemented Interfaces:
Serializable, RouterConfig
Direct Known Subclasses:
NoRouter$

public abstract class NoRouter extends 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:
  • Constructor Details

    • NoRouter

      public NoRouter()
  • Method Details

    • createRouter

      public static Router createRouter(ActorSystem system)
    • routerDispatcher

      public static 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)
    • productPrefix

      public static String productPrefix()
    • productArity

      public static int productArity()
    • productElement

      public static Object productElement(int x$1)
    • productIterator

      public static scala.collection.Iterator<Object> productIterator()
    • canEqual

      public static boolean canEqual(Object x$1)
    • hashCode

      public static int hashCode()
    • toString

      public static String toString()
    • routingLogicController

      public static scala.Option<Props> routingLogicController(RoutingLogic routingLogic)
    • isManagementMessage

      public static boolean isManagementMessage(Object msg)
    • stopRouterWhenAllRouteesRemoved

      public static boolean stopRouterWhenAllRouteesRemoved()
    • verifyConfig

      public static void verifyConfig(ActorPath path)
    • equals

      public abstract static boolean equals(Object that)
    • productElementName

      public static String productElementName(int n)
    • productElementNames

      public static scala.collection.Iterator<String> productElementNames()