Class SmallestMailboxPool.SmallestMailboxPoolSurrogate
This class represents a surrogate of a SmallestMailboxPool router. Its main use is to help during the serialization process.
Implements
Inherited Members
Namespace: Akka.Routing
Assembly: Akka.dll
Syntax
public class SmallestMailboxPool.SmallestMailboxPoolSurrogate : ISurrogate
Properties
| Edit this page View SourceNrOfInstances
The number of routees associated with this pool.
Declaration
public int NrOfInstances { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Resizer
The resizer to use when dynamically allocating routees to the pool.
Declaration
public Resizer Resizer { get; set; }
Property Value
| Type | Description |
|---|---|
| Resizer |
RouterDispatcher
The dispatcher to use when passing messages to the routees.
Declaration
public string RouterDispatcher { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SupervisorStrategy
The strategy to use when supervising the pool.
Declaration
public SupervisorStrategy SupervisorStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| SupervisorStrategy |
UsePoolDispatcher
Determine whether or not to use the pool dispatcher. The dispatcher is defined in the 'pool-dispatcher' configuration property in the deployment section of the router.
Declaration
public bool UsePoolDispatcher { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
| Edit this page View SourceFromSurrogate(ActorSystem)
Creates a SmallestMailboxPool encapsulated by this surrogate.
Declaration
public ISurrogated FromSurrogate(ActorSystem system)
Parameters
| Type | Name | Description |
|---|---|---|
| ActorSystem | system | The actor system that owns this router. |
Returns
| Type | Description |
|---|---|
| ISurrogated | The SmallestMailboxPool encapsulated by this surrogate. |
Edit this page