Package akka.actor.typed
Class DispatcherSelector$
- java.lang.Object
-
- akka.actor.typed.DispatcherSelector$
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Serializable
public class DispatcherSelector$ extends java.lang.Object implements scala.Serializable
Scala API: Run the actor on the defaultActorSystem
executor.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static DispatcherSelector$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description DispatcherSelector$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DispatcherSelector
blocking()
Run the actor on the default blocking dispatcher that is configured under default-blocking-io-dispatcherDispatcherSelector
defaultDispatcher()
Java API: Run the actor on the defaultActorSystem
executor.DispatcherSelector
fromConfig(java.lang.String path)
Look up an executor definition in theActorSystem
configuration.
-
-
-
Field Detail
-
MODULE$
public static final DispatcherSelector$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
defaultDispatcher
public DispatcherSelector defaultDispatcher()
Java API: Run the actor on the defaultActorSystem
executor.- Returns:
- (undocumented)
-
blocking
public DispatcherSelector blocking()
Run the actor on the default blocking dispatcher that is configured under default-blocking-io-dispatcher- Returns:
- (undocumented)
-
fromConfig
public DispatcherSelector fromConfig(java.lang.String path)
Look up an executor definition in theActorSystem
configuration. ExecutorServices created in this fashion will be shut down when the ActorSystem terminates.- Parameters:
path
- (undocumented)- Returns:
- (undocumented)
-
-