| TailChoppingPool Constructor (Int32, Resizer, SupervisorStrategy, String, TimeSpan, TimeSpan, Boolean) |
Namespace:
Akka.Routing
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public TailChoppingPool(
int nrOfInstances,
Resizer resizer,
SupervisorStrategy supervisorStrategy,
string routerDispatcher,
TimeSpan within,
TimeSpan interval,
bool usePoolDispatcher = false
)
new :
nrOfInstances : int *
resizer : Resizer *
supervisorStrategy : SupervisorStrategy *
routerDispatcher : string *
within : TimeSpan *
interval : TimeSpan *
?usePoolDispatcher : bool
(* Defaults:
let _usePoolDispatcher = defaultArg usePoolDispatcher false
*)
-> TailChoppingPool
Parameters
- nrOfInstances
- Type: SystemInt32
The initial number of routees in the pool. - resizer
- Type: Akka.RoutingResizer
The resizer to use when dynamically allocating routees to the pool. - supervisorStrategy
- Type: Akka.ActorSupervisorStrategy
The strategy to use when supervising the pool. - routerDispatcher
- Type: SystemString
The dispatcher to use when passing messages to the routees. - within
- Type: SystemTimeSpan
The amount of time to wait for a response. - interval
- Type: SystemTimeSpan
The interval to wait before sending to the next routee. - usePoolDispatcher (Optional)
- Type: SystemBoolean
true to use the pool dispatcher; otherwise false.
See Also