Class AdaptiveLoadBalancingPool.AdaptiveLoadBalancingPoolSurrogate
This class represents a surrogate of a AdaptiveLoadBalancingPool router. Its main use is to help during the serialization process.
Implements
Inherited Members
Namespace: Akka.Cluster.Metrics
Assembly: Akka.Cluster.Metrics.dll
Syntax
public class AdaptiveLoadBalancingPoolSurrogate : ISurrogate
Properties
| Improve this Doc View SourceMetricsSelector
Metrics selector
Declaration
public IMetricsSelector MetricsSelector { get; set; }
Property Value
Type | Description |
---|---|
IMetricsSelector |
NrOfInstances
The number of routees associated with this pool.
Declaration
public int NrOfInstances { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
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 |
Methods
| Improve this Doc View SourceFromSurrogate(ActorSystem)
Creates a AdaptiveLoadBalancingPool 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 AdaptiveLoadBalancingPool encapsulated by this surrogate. |