Merge pull request #1720 from jducoeur/master
=doc #3596 Add paragraph about Agent locality
This commit is contained in:
commit
dfe1656a2b
1 changed files with 6 additions and 0 deletions
|
|
@ -29,7 +29,13 @@ that transaction. Agents are integrated with Scala STM - any dispatches made in
|
|||
a transaction are held until that transaction commits, and are discarded if it
|
||||
is retried or aborted.
|
||||
|
||||
.. note::
|
||||
|
||||
Agents are local to the node on which they are created. This implies that you
|
||||
should generally not include them in messages that may be passed to remote Actors
|
||||
or as constructor parameters for remote Actors; those remote Actors will not be able to
|
||||
read or update the Agent.
|
||||
|
||||
Creating Agents
|
||||
============================
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue