Package org.apache.pekko.actor.typed
Class DispatcherSelector$
java.lang.Object
org.apache.pekko.actor.typed.DispatcherSelector$
- All Implemented Interfaces:
Serializable
Factories for
DispatcherSelectors which describe which thread pool shall be used to run
the actor to which this configuration is applied. See 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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DispatcherSelector$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblocking()Run the actor on the default blocking dispatcher that is configured under default-blocking-io-dispatcherJava API: Run the actor on the defaultActorSystemexecutor.fromConfig(String path) Look up an executor definition in theActorSystemconfiguration.Run the actor on the same executor as the parent actor.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
DispatcherSelector$
public DispatcherSelector$()
-
-
Method Details
-
defaultDispatcher
Java API: Run the actor on the defaultActorSystemexecutor. -
blocking
Run the actor on the default blocking dispatcher that is configured under default-blocking-io-dispatcher -
fromConfig
Look up an executor definition in theActorSystemconfiguration. ExecutorServices created in this fashion will be shut down when the ActorSystem terminates. -
sameAsParent
Run the actor on the same executor as the parent actor.- Returns:
-