Méthode | Description | |
---|---|---|
ConsistentHashingPool ( |
Initializes a new instance of the ConsistentHashingPool class.
|
|
ConsistentHashingPool ( int nrOfInstances ) : System |
Initializes a new instance of the ConsistentHashingPool class.
|
|
ConsistentHashingPool ( int nrOfInstances, Akka.Routing.Resizer resizer, Akka.Actor.SupervisorStrategy supervisorStrategy, string routerDispatcher, bool usePoolDispatcher = false, int virtualNodesFactor, ConsistentHashMapping hashMapping = null ) : System |
Initializes a new instance of the ConsistentHashingPool class.
|
|
CreateRouter ( ActorSystem system ) : |
Creates a router that is responsible for routing messages to routees within the provided system.
|
|
ToSurrogate ( ActorSystem system ) : ISurrogate |
Creates a surrogate representation of the current ConsistentHashingPool.
|
|
WithDispatcher ( string dispatcher ) : Akka.Routing.Pool |
Creates a new ConsistentHashingPool router with a given dispatcher id.
|
|
WithFallback ( Akka.Routing.RouterConfig routerConfig ) : Akka.Routing.RouterConfig |
Configure the current router with an auxiliary router for routes that it does not know how to handle.
|
|
WithHashMapping ( ConsistentHashMapping mapping ) : |
Creates a new ConsistentHashingPool router with a given ConsistentHashMapping.
|
|
WithResizer ( Akka.Routing.Resizer resizer ) : Akka.Routing.Pool |
Creates a new ConsistentHashingPool router with a given Resizer.
|
|
WithSupervisorStrategy ( Akka.Actor.SupervisorStrategy strategy ) : Akka.Routing.Pool |
Creates a new ConsistentHashingPool router with a given SupervisorStrategy.
|
|
WithVirtualNodesFactor ( int vnodes ) : |
Creates a new ConsistentHashingPool router with a given VirtualNodesFactor.
|
public ConsistentHashingPool ( |
||
config | The configuration used to configure the pool. | |
Résultat | System |
public ConsistentHashingPool ( int nrOfInstances ) : System | ||
nrOfInstances | int | The initial number of routees in the pool. |
Résultat | System |
public ConsistentHashingPool ( int nrOfInstances, Akka.Routing.Resizer resizer, Akka.Actor.SupervisorStrategy supervisorStrategy, string routerDispatcher, bool usePoolDispatcher = false, int virtualNodesFactor, ConsistentHashMapping hashMapping = null ) : System | ||
nrOfInstances | int | The initial number of routees in the pool. |
resizer | Akka.Routing.Resizer | The resizer to use when dynamically allocating routees to the pool. |
supervisorStrategy | Akka.Actor.SupervisorStrategy | The strategy to use when supervising the pool. |
routerDispatcher | string | The dispatcher to use when passing messages to the routees. |
usePoolDispatcher | bool | |
virtualNodesFactor | int | The number of virtual nodes to use on the hash ring. |
hashMapping | ConsistentHashMapping | The consistent hash mapping function to use on incoming messages. |
Résultat | System |
public CreateRouter ( ActorSystem system ) : |
||
system | ActorSystem | The actor system that owns this router. |
Résultat |
public ToSurrogate ( ActorSystem system ) : ISurrogate | ||
system | ActorSystem | The actor system that owns this router. |
Résultat | ISurrogate |
public WithDispatcher ( string dispatcher ) : Akka.Routing.Pool | ||
dispatcher | string | The dispatcher id used to configure the new router. |
Résultat | Akka.Routing.Pool |
public WithFallback ( Akka.Routing.RouterConfig routerConfig ) : Akka.Routing.RouterConfig | ||
routerConfig | Akka.Routing.RouterConfig | The router to use as an auxiliary source. |
Résultat | Akka.Routing.RouterConfig |
public WithHashMapping ( ConsistentHashMapping mapping ) : |
||
mapping | ConsistentHashMapping | The |
Résultat |
public WithResizer ( Akka.Routing.Resizer resizer ) : Akka.Routing.Pool | ||
resizer | Akka.Routing.Resizer | The |
Résultat | Akka.Routing.Pool |
public WithSupervisorStrategy ( Akka.Actor.SupervisorStrategy strategy ) : Akka.Routing.Pool | ||
strategy | Akka.Actor.SupervisorStrategy | The |
Résultat | Akka.Routing.Pool |
public WithVirtualNodesFactor ( int vnodes ) : |
||
vnodes | int | The |
Résultat |