You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Creates a new ActorSystem with the specified name,
129
+
* the specified ClassLoader if given, otherwise obtains the current ClassLoader by first inspecting the current
130
+
* threads' getContextClassLoader, then tries to walk the stack to find the callers class loader, then
131
+
* falls back to the ClassLoader associated with the ActorSystem class.
132
+
* If an ExecutionContext is given, it will be used as the default executor inside this ActorSystem.
133
+
* If no ExecutionContext is given, the system will fallback to the executor configured under "akka.actor.default-dispatcher.default-executor.fallback".
134
+
* The system will use the passed in config, or falls back to the deafult reference configuration using the ClassLoader.
135
+
*
136
+
* @see <a href="http://typesafehub.github.io/config/v1.2.0/" target="_blank">The Typesafe Config Library API Documentation</a>
prerequisites.eventStream.publish(Debug("DefaultExecutorServiceConfigurator", this.getClass, s"Using passed in ExecutionContext as default executor for this ActorSystem. If you want to use a different executor, please specify one in akka.actor.default-dispatcher.default-executor."))
Copy file name to clipboardExpand all lines: akka-docs/rst/java/dispatchers.rst
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,11 @@ Default dispatcher
11
11
------------------
12
12
13
13
Every ``ActorSystem`` will have a default dispatcher that will be used in case nothing else is configured for an ``Actor``.
14
-
The default dispatcher can be configured, and is by default a ``Dispatcher`` with a "fork-join-executor", which gives excellent performance in most cases.
14
+
The default dispatcher can be configured, and is by default a ``Dispatcher`` with the specified ``default-executor``.
15
+
If an ActorSystem is created with an ExecutionContext passed in, this ExecutionContext will be used as the default executor for all
16
+
dispatchers in this ActorSystem. If no ExecutionContext is given, it will fallback to the executor specified in
17
+
``akka.actor.default-dispatcher.default-executor.fallback``. By default this is a "fork-join-executor", which
Copy file name to clipboardExpand all lines: akka-docs/rst/scala/dispatchers.rst
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,11 @@ Default dispatcher
11
11
------------------
12
12
13
13
Every ``ActorSystem`` will have a default dispatcher that will be used in case nothing else is configured for an ``Actor``.
14
-
The default dispatcher can be configured, and is by default a ``Dispatcher`` with a "fork-join-executor", which gives excellent performance in most cases.
14
+
The default dispatcher can be configured, and is by default a ``Dispatcher`` with the specified ``default-executor``.
15
+
If an ActorSystem is created with an ExecutionContext passed in, this ExecutionContext will be used as the default executor for all
16
+
dispatchers in this ActorSystem. If no ExecutionContext is given, it will fallback to the executor specified in
17
+
``akka.actor.default-dispatcher.default-executor.fallback``. By default this is a "fork-join-executor", which
0 commit comments