Package org.apache.pekko.actor.typed
Class DispatcherSelector
java.lang.Object
org.apache.pekko.actor.typed.Props
org.apache.pekko.actor.typed.DispatcherSelector
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
- Direct Known Subclasses:
PropsImpl.DispatcherDefault,PropsImpl.DispatcherFromConfig,PropsImpl.DispatcherSameAsParent
Not for user extension.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DispatcherSelectorblocking()Run the actor on the default blocking dispatcher that is configured under default-blocking-io-dispatcherstatic DispatcherSelectorJava API: Run the actor on the defaultActorSystemexecutor.static DispatcherSelectorfromConfig(String path) Look up an executor definition in theActorSystemconfiguration.static DispatcherSelectorRun the actor on the same executor as the parent actor.Methods inherited from class org.apache.pekko.actor.typed.Props
empty, withDispatcherDefault, withDispatcherFromConfig, withDispatcherSameAsParent, withMailboxFromConfigMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
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:
-