Class ScatterGatherFirstCompletedPool.ScatterGatherFirstCompletedPoolSurrogate
This class represents a surrogate of a ScatterGatherFirstCompletedPool router. Its main use is to help during the serialization process.
Implements
Inherited Members
Namespace: Akka.Routing
Assembly: Akka.dll
Syntax
public class ScatterGatherFirstCompletedPoolSurrogate : ISurrogate
Properties
| Improve this Doc View SourceNrOfInstances
The number of routees associated with this pool.
Declaration
public int NrOfInstances { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
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 |
---|---|
Boolean |
Within
The amount of time to wait for a response.
Declaration
public TimeSpan Within { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Methods
| Improve this Doc View SourceFromSurrogate(ActorSystem)
Creates a ScatterGatherFirstCompletedPool 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 ScatterGatherFirstCompletedPool encapsulated by this surrogate. |