 | Dispatcher Constructor |
Namespace:
Akka.Dispatch
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic Dispatcher(
MessageDispatcherConfigurator configurator,
string id,
int throughput,
Nullable<long> throughputDeadlineTime,
ExecutorServiceFactory executorServiceFactory,
TimeSpan shutdownTimeout
)
new :
configurator : MessageDispatcherConfigurator *
id : string *
throughput : int *
throughputDeadlineTime : Nullable<int64> *
executorServiceFactory : ExecutorServiceFactory *
shutdownTimeout : TimeSpan -> Dispatcher
Parameters
- configurator
- Type: Akka.DispatchMessageDispatcherConfigurator
The configurator used. - id
- Type: SystemString
The id of this dispatcher. - throughput
- Type: SystemInt32
The throughput of this dispatcher. - throughputDeadlineTime
- Type: SystemNullableInt64
The deadline for completing N (where N = throughput) operations on the mailbox.. - executorServiceFactory
- Type: Akka.DispatchExecutorServiceFactory
The factory for producing the executor who will do the work. - shutdownTimeout
- Type: SystemTimeSpan
The graceful stop timeout period.
See Also