Method | 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. | |
return | System |
public ConsistentHashingPool ( int nrOfInstances ) : System | ||
nrOfInstances | int | The initial number of routees in the pool. |
return | 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. |
return | System |
public CreateRouter ( ActorSystem system ) : |
||
system | ActorSystem | The actor system that owns this router. |
return |
public ToSurrogate ( ActorSystem system ) : ISurrogate | ||
system | ActorSystem | The actor system that owns this router. |
return | ISurrogate |
public WithDispatcher ( string dispatcher ) : Akka.Routing.Pool | ||
dispatcher | string | The dispatcher id used to configure the new router. |
return | Akka.Routing.Pool |
public WithFallback ( Akka.Routing.RouterConfig routerConfig ) : Akka.Routing.RouterConfig | ||
routerConfig | Akka.Routing.RouterConfig | The router to use as an auxiliary source. |
return | Akka.Routing.RouterConfig |
public WithHashMapping ( ConsistentHashMapping mapping ) : |
||
mapping | ConsistentHashMapping | The |
return |
public WithResizer ( Akka.Routing.Resizer resizer ) : Akka.Routing.Pool | ||
resizer | Akka.Routing.Resizer | The |
return | Akka.Routing.Pool |
public WithSupervisorStrategy ( Akka.Actor.SupervisorStrategy strategy ) : Akka.Routing.Pool | ||
strategy | Akka.Actor.SupervisorStrategy | The |
return | Akka.Routing.Pool |
public WithVirtualNodesFactor ( int vnodes ) : |
||
vnodes | int | The |
return |