object DispatcherSelector extends Serializable
Factories for DispatcherSelectors which describe which thread pool shall be used to run the actor to which this configuration is applied. Se the individual factory methods for details on the options.
The default configuration if none of these options are present is to run the actor on the default ActorSystem executor.
- Source
- Props.scala
- Alphabetic
- By Inheritance
- DispatcherSelector
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
blocking(): DispatcherSelector
Run the actor on the default blocking dispatcher that is configured under default-blocking-io-dispatcher
-
def
default(): DispatcherSelector
Scala API: Run the actor on the default ActorSystem executor.
-
def
defaultDispatcher(): DispatcherSelector
Java API: Run the actor on the default ActorSystem executor.
-
def
fromConfig(path: String): DispatcherSelector
Look up an executor definition in the ActorSystem configuration.
Look up an executor definition in the ActorSystem configuration. ExecutorServices created in this fashion will be shut down when the ActorSystem terminates.