Extra clarification and link to juc.ThreadPoolExecutor from docs #21109
This commit is contained in:
parent
16e3e01ba2
commit
ddb2218f0a
2 changed files with 10 additions and 1 deletions
|
|
@ -44,6 +44,10 @@ And here's another example that uses the "thread-pool-executor":
|
||||||
|
|
||||||
.. includecode:: ../scala/code/docs/dispatcher/DispatcherDocSpec.scala#my-thread-pool-dispatcher-config
|
.. includecode:: ../scala/code/docs/dispatcher/DispatcherDocSpec.scala#my-thread-pool-dispatcher-config
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The thread pool executor dispatcher is implemented using by a ``java.util.concurrent.ThreadPoolExecutor``.
|
||||||
|
You can read more about it in the JDK's `ThreadPoolExecutor documentation`_.
|
||||||
|
|
||||||
For more options, see the default-dispatcher section of the :ref:`configuration`.
|
For more options, see the default-dispatcher section of the :ref:`configuration`.
|
||||||
|
|
||||||
Then you create the actor as usual and define the dispatcher in the deployment configuration.
|
Then you create the actor as usual and define the dispatcher in the deployment configuration.
|
||||||
|
|
@ -65,6 +69,7 @@ of programmatically provided parameter.
|
||||||
where you'd use periods to denote sub-sections, like this: ``"foo.bar.my-dispatcher"``
|
where you'd use periods to denote sub-sections, like this: ``"foo.bar.my-dispatcher"``
|
||||||
|
|
||||||
.. _ForkJoinPool documentation: https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ForkJoinPool.html
|
.. _ForkJoinPool documentation: https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ForkJoinPool.html
|
||||||
|
.. _ThreadPoolExecutor documentation: https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadPoolExecutor.html
|
||||||
|
|
||||||
Types of dispatchers
|
Types of dispatchers
|
||||||
--------------------
|
--------------------
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,10 @@ And here's another example that uses the "thread-pool-executor":
|
||||||
|
|
||||||
.. includecode:: ../scala/code/docs/dispatcher/DispatcherDocSpec.scala#my-thread-pool-dispatcher-config
|
.. includecode:: ../scala/code/docs/dispatcher/DispatcherDocSpec.scala#my-thread-pool-dispatcher-config
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The thread pool executor dispatcher is implemented using by a ``java.util.concurrent.ThreadPoolExecutor``.
|
||||||
|
You can read more about it in the JDK's `ThreadPoolExecutor documentation`_.
|
||||||
|
|
||||||
For more options, see the default-dispatcher section of the :ref:`configuration`.
|
For more options, see the default-dispatcher section of the :ref:`configuration`.
|
||||||
|
|
||||||
Then you create the actor as usual and define the dispatcher in the deployment configuration.
|
Then you create the actor as usual and define the dispatcher in the deployment configuration.
|
||||||
|
|
@ -65,7 +69,7 @@ of programmatically provided parameter.
|
||||||
where you'd use periods to denote sub-sections, like this: ``"foo.bar.my-dispatcher"``
|
where you'd use periods to denote sub-sections, like this: ``"foo.bar.my-dispatcher"``
|
||||||
|
|
||||||
.. _ForkJoinPool documentation: https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ForkJoinPool.html
|
.. _ForkJoinPool documentation: https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ForkJoinPool.html
|
||||||
|
.. _ThreadPoolExecutor documentation: https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadPoolExecutor.html
|
||||||
Types of dispatchers
|
Types of dispatchers
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue