Package akka.actor.typed
Class DispatcherSelector
- java.lang.Object
-
- akka.actor.typed.Props
-
- akka.actor.typed.DispatcherSelector
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
- Direct Known Subclasses:
DispatcherDefault
,DispatcherFromConfig
public abstract class DispatcherSelector extends Props
Not for user extension.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DispatcherSelector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DispatcherSelector
blocking()
Run the actor on the default blocking dispatcher that is configured under default-blocking-io-dispatcherstatic DispatcherSelector
defaultDispatcher()
Java API: Run the actor on the defaultActorSystem
executor.static DispatcherSelector
fromConfig(java.lang.String path)
Look up an executor definition in theActorSystem
configuration.-
Methods inherited from class akka.actor.typed.Props
allOf, empty, filterNot, firstOrElse, next, withDispatcherDefault, withDispatcherFromConfig, withNext
-
-
-
-
Method Detail
-
defaultDispatcher
public static DispatcherSelector defaultDispatcher()
Java API: Run the actor on the defaultActorSystem
executor.- Returns:
- (undocumented)
-
blocking
public static DispatcherSelector blocking()
Run the actor on the default blocking dispatcher that is configured under default-blocking-io-dispatcher- Returns:
- (undocumented)
-
fromConfig
public static 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)
-
-