PoolBase

org.apache.pekko.routing.PoolBase
abstract class PoolBase extends Pool

Java API: Base class for custom router Pool

Attributes

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

Members list

Value members

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
def props(routeeProps: Props): Props

pekko.actor.Props for a pool router based on the settings defined by this instance and the supplied pekko.actor.Props for the routees created by the router.

pekko.actor.Props for a pool router based on the settings defined by this instance and the supplied pekko.actor.Props for the routees created by the router.

Attributes

Inherited from:
Pool
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

Definition Classes
Inherited from:
Pool
Source
RouterConfig.scala

Use a dedicated dispatcher for the routees of the pool. The dispatcher is defined in 'pool-dispatcher' configuration property in the deployment section of the router.

Use a dedicated dispatcher for the routees of the pool. The dispatcher is defined in 'pool-dispatcher' configuration property in the deployment section of the router.

Attributes

Inherited from:
Pool
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

Initial number of routee instances

Initial number of routee instances

Attributes

Inherited from:
Pool
Source
RouterConfig.scala

Pool with dynamically resizable number of routees return the pekko.routing.Resizer to use. The resizer is invoked once when the router is created, before any messages can be sent to it. Resize is also triggered when messages are sent to the routees, and the resizer is invoked asynchronously, i.e. not necessarily before the message has been sent.

Pool with dynamically resizable number of routees return the pekko.routing.Resizer to use. The resizer is invoked once when the router is created, before any messages can be sent to it. Resize is also triggered when messages are sent to the routees, and the resizer is invoked asynchronously, i.e. not necessarily before the message has been sent.

Attributes

Inherited from:
Pool
Source
RouterConfig.scala

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

Inherited from:
RouterConfig
Source
RouterConfig.scala

SupervisorStrategy for the head actor, i.e. for supervising the routees of the pool.

SupervisorStrategy for the head actor, i.e. for supervising the routees of the pool.

Attributes

Inherited from:
Pool
Source
RouterConfig.scala