CustomRouterConfig

org.apache.pekko.routing.CustomRouterConfig
abstract class CustomRouterConfig extends RouterConfig

If a custom router implementation is not a Group nor a Pool it may extend this base class.

Attributes

Source
RouterConfig.scala
Graph
Supertypes
trait RouterConfig
trait Serializable
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def routerDispatcher: String

Dispatcher ID to use for running the “head” actor, which handles supervision, death watch and router management messages

Dispatcher ID to use for running the “head” actor, which handles supervision, death watch and router management messages

Attributes

Definition Classes
Source
RouterConfig.scala

Inherited methods

def isManagementMessage(msg: Any): Boolean

Is the message handled by the router head actor or the routingLogicController actor.

Is the message handled by the router head actor or the routingLogicController actor.

Attributes

Inherited from:
RouterConfig
Source
RouterConfig.scala

Possibility to define an actor for controlling the routing logic from external stimuli (e.g. monitoring metrics). This actor will be a child of the router "head" actor. Management messages not handled by the "head" actor are delegated to this controller actor.

Possibility to define an actor for controlling the routing logic from external stimuli (e.g. monitoring metrics). This actor will be a child of the router "head" actor. Management messages not handled by the "head" actor are delegated to this controller actor.

Attributes

Inherited from:
RouterConfig
Source
RouterConfig.scala

Specify that this router should stop itself when all routees have terminated (been removed). By Default it is true, unless a resizer is used.

Specify that this router should stop itself when all routees have terminated (been removed). By Default it is true, unless a resizer is used.

Attributes

Inherited from:
RouterConfig
Source
RouterConfig.scala

Check that everything is there which is needed. Called in constructor of RoutedActorRef to fail early.

Check that everything is there which is needed. Called in constructor of RoutedActorRef to fail early.

Attributes

Inherited from:
RouterConfig
Source
RouterConfig.scala

Overridable merge strategy, by default completely prefers this (i.e. no merge).

Overridable merge strategy, by default completely prefers this (i.e. no merge).

Attributes

Inherited from:
RouterConfig
Source
RouterConfig.scala

Inherited and Abstract methods

Create the actual router, responsible for routing messages to routees.

Create the actual router, responsible for routing messages to routees.

Value parameters

system

the ActorSystem this router belongs to

Attributes

Inherited from:
RouterConfig
Source
RouterConfig.scala