=doc update reference to resolveOneCS in Java documentation (#21726) (#21890)

This commit is contained in:
Tal Pressman 2016-11-24 12:24:42 +02:00 committed by Konrad Malawski
parent 2679be5ae4
commit 514dfd8058

View file

@ -79,8 +79,8 @@ To acquire an :class:`ActorRef` for an :class:`ActorSelection` you need to
send a message to the selection and use the ``getSender`` reference of the reply from
the actor. There is a built-in ``Identify`` message that all Actors will understand
and automatically reply to with a ``ActorIdentity`` message containing the
:class:`ActorRef`. This can also be done with the ``resolveOne`` method of
the :class:`ActorSelection`, which returns a ``Future`` of the matching
:class:`ActorRef`. This can also be done with the ``resolveOneCS`` method of
the :class:`ActorSelection`, which returns a ``CompletionStage`` of the matching
:class:`ActorRef`.
.. note::