ChannelActorRegistry
in package
FinalYes
Tags
Table of Contents
Constants
- DEFAULT_MAX_CHANNELS : int = 10000
- Default maximum number of simultaneously live channel actors.
Methods
- __construct() : mixed
- count() : int
- Number of currently tracked (not yet pruned) channel actors.
- remove() : void
- resolveOrSpawn() : ActorRef
Constants
DEFAULT_MAX_CHANNELS
Default maximum number of simultaneously live channel actors.
public
int
DEFAULT_MAX_CHANNELS
= 10000
Methods
__construct()
public
__construct(ActorSystem $system[, LoggerInterface|null $logger = null ][, int $maxChannels = self::DEFAULT_MAX_CHANNELS ]) : mixed
Parameters
- $system : ActorSystem
- $logger : LoggerInterface|null = null
- $maxChannels : int = self::DEFAULT_MAX_CHANNELS
count()
Number of currently tracked (not yet pruned) channel actors.
public
count() : int
Return values
intremove()
public
remove(string $name) : void
Parameters
- $name : string
resolveOrSpawn()
public
resolveOrSpawn(string $name, Props $props) : ActorRef
Parameters
- $name : string
- $props : Props