Method | Description | |
---|---|---|
CreateRouter ( ActorSystem system ) : |
Creates a router that is responsible for routing messages to routees within the provided system.
|
|
ScatterGatherFirstCompletedPool ( Config config ) : System |
Initializes a new instance of the ScatterGatherFirstCompletedPool class.
|
|
ScatterGatherFirstCompletedPool ( int nrOfInstances ) : System |
Initializes a new instance of the ScatterGatherFirstCompletedPool class.
|
|
ScatterGatherFirstCompletedPool ( int nrOfInstances, Resizer resizer, SupervisorStrategy supervisorStrategy, string routerDispatcher, TimeSpan within, bool usePoolDispatcher = false ) : System |
Initializes a new instance of the ScatterGatherFirstCompletedPool class.
|
|
ScatterGatherFirstCompletedPool ( int nrOfInstances, TimeSpan within ) : System |
Initializes a new instance of the ScatterGatherFirstCompletedPool class.
|
|
ToSurrogate ( ActorSystem system ) : ISurrogate |
Creeates a surrogate representation of the current ScatterGatherFirstCompletedPool.
|
|
WithDispatcher ( string dispatcher ) : Pool |
Creates a new ScatterGatherFirstCompletedPool router with a given dispatcher id.
|
|
WithFallback ( RouterConfig routerConfig ) : RouterConfig |
Configure the current router with an auxiliary router for routes that it does not know how to handle.
|
|
WithResizer ( Resizer resizer ) : Pool |
Creates a new ScatterGatherFirstCompletedPool router with a given Resizer.
|
|
WithSupervisorStrategy ( SupervisorStrategy strategy ) : Pool |
Creates a new ScatterGatherFirstCompletedPool router with a given SupervisorStrategy.
|
public CreateRouter ( ActorSystem system ) : |
||
system | ActorSystem | The actor system that owns this router. |
return |
public ScatterGatherFirstCompletedPool ( Config config ) : System | ||
config | Config |
/// The configuration to use to lookup paths used by the group router.
///
/// |
return | System |
public ScatterGatherFirstCompletedPool ( int nrOfInstances ) : System | ||
nrOfInstances | int | The initial number of routees in the pool. |
return | System |
public ScatterGatherFirstCompletedPool ( int nrOfInstances, Resizer resizer, SupervisorStrategy supervisorStrategy, string routerDispatcher, TimeSpan within, bool usePoolDispatcher = false ) : System | ||
nrOfInstances | int | The initial number of routees in the pool. |
resizer | Resizer | The resizer to use when dynamically allocating routees to the pool. |
supervisorStrategy | SupervisorStrategy | The strategy to use when supervising the pool. |
routerDispatcher | string | The dispatcher to use when passing messages to the routees. |
within | TimeSpan | The amount of time to wait for a response. |
usePoolDispatcher | bool | |
return | System |
public ScatterGatherFirstCompletedPool ( int nrOfInstances, TimeSpan within ) : System | ||
nrOfInstances | int | The initial number of routees in the pool. |
within | TimeSpan | The amount of time to wait for a response. |
return | System |
public ToSurrogate ( ActorSystem system ) : ISurrogate | ||
system | ActorSystem | The actor system that owns this router. |
return | ISurrogate |
public WithDispatcher ( string dispatcher ) : Pool | ||
dispatcher | string | The dispatcher id used to configure the new router. |
return | Pool |
public WithFallback ( RouterConfig routerConfig ) : RouterConfig | ||
routerConfig | RouterConfig | The router to use as an auxiliary source. |
return | RouterConfig |
public WithResizer ( Resizer resizer ) : Pool | ||
resizer | Resizer | The |
return | Pool |
public WithSupervisorStrategy ( SupervisorStrategy strategy ) : Pool | ||
strategy | SupervisorStrategy | The |
return | Pool |