Merge branch 'master' into wip-2134-deathwatch2.0-√
This commit is contained in:
commit
a5127b12dd
46 changed files with 2068 additions and 221 deletions
|
|
@ -185,3 +185,6 @@ External Akka Serializers
|
|||
|
||||
|
||||
`Akka-quickser by Roman Levenstein <https://github.com/romix/akka-quickser-serialization>`_
|
||||
|
||||
|
||||
`Akka-kryo by Roman Levenstein <https://github.com/romix/akka-kryo-serialization>`_
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ Methods returning:
|
|||
* ``void`` will be dispatched with ``fire-and-forget`` semantics, exactly like ``ActorRef.tell``
|
||||
* ``akka.dispatch.Future<?>`` will use ``send-request-reply`` semantics, exactly like ``ActorRef.ask``
|
||||
* ``scala.Option<?>`` or ``akka.japi.Option<?>`` will use ``send-request-reply`` semantics, but *will* block to wait for an answer,
|
||||
and return None if no answer was produced within the timout, or scala.Some/akka.japi.Some containing the result otherwise.
|
||||
and return None if no answer was produced within the timeout, or scala.Some/akka.japi.Some containing the result otherwise.
|
||||
Any exception that was thrown during this call will be rethrown.
|
||||
* Any other type of value will use ``send-request-reply`` semantics, but *will* block to wait for an answer,
|
||||
throwing ``java.util.concurrent.TimeoutException`` if there was a timeout or rethrow any exception that was thrown during this call.
|
||||
|
|
|
|||
|
|
@ -370,7 +370,7 @@ specified as parameter to the ``ask`` method; this will complete the
|
|||
See :ref:`futures-java` for more information on how to await or query a
|
||||
future.
|
||||
|
||||
The ``onComplete``, ``onResult``, or ``onTimeout`` methods of the ``Future`` can be
|
||||
The ``onComplete``, ``onSuccess``, or ``onFailure`` methods of the ``Future`` can be
|
||||
used to register a callback to get a notification when the Future completes.
|
||||
Gives you a way to avoid blocking.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue