Commit graph

49 commits

Author SHA1 Message Date
Patrik Nordwall
762d49ac36 +act #3592 Read stash-capacity from mailbox config 2013-09-09 14:59:05 +02:00
Patrik Nordwall
713478f963 Merge pull request #1671 from akka/wip-3529-identify-sugar-patriknw
+act #3529 Add convenience helper for looking up an actor by identity
2013-08-27 02:14:19 -07:00
Patrik Nordwall
37c4053b29 +act #3529 Add convenience helper for looking up an actor by identity
* ActorSelection.resolveOne
2013-08-27 11:13:33 +02:00
Patrik Nordwall
2087dfc1a0 =doc #3500 Add section about Dependency Injection 2013-08-26 09:58:16 +02:00
Roland Kuhn
180809fd13 Merge pull request #1611 from drewhk/wip-3167-illustration-actor-lifecycle-drewhk
=doc #3167 Image clarifying paths, incarnations, UIDs, ActorRefs
2013-07-09 02:43:26 -07:00
Endre Sándor Varga
40bb823438 =doc #3167 Image clarifying paths, incarnations, UIDs, ActorRefs and Selections. 2013-07-09 11:39:49 +02:00
Endre Sándor Varga
cebdc7202b =doc:3472 Updated Stash docs to reflect new mailbox requirements 2013-07-08 19:17:08 +02:00
Roland Kuhn
d6e3e71d5e clarify wording of actor termination phase 2013-07-05 20:11:51 +02:00
Roland Kuhn
9cd05a070e add pipeToSelection support, see #3430
also add explanation to docs about what happens when Identify message
hits a non-existing path element
2013-06-25 16:36:24 +02:00
Roland Kuhn
9c89f170d2 Merge pull request #1490 from akka/wip-3377-Props.create-∂π
improve safety of Props.create by allowing Creator<T>, see #3377
2013-05-29 22:46:06 -07:00
Roland
f8fa825e48 improve safety of Props.create by allowing Creator<T>, see #3377
Props constructors need to be deprecated instead of being mutated
because we cannot just start throwing exceptions in people’s existing
code. Props.withCreator is deprecated for similar reasons, but also
because Props are about the creators, so replacing that after the fact
is not good style.
2013-05-29 23:40:27 +02:00
Björn Antonsson
6abec367f2 Split mailbox documentation into a separate section. See #3341 2013-05-28 13:34:35 +02:00
Björn Antonsson
539df2e98a Enforce mailbox types on System actors. See #3273 2013-05-03 11:05:32 +02:00
Roland Kuhn
7870bf0cb0 Merge pull request #1353 from akka/wip-structure-docs-∂π
restructure ToC of reST docs
2013-04-19 05:14:52 -07:00
Björn Antonsson
c3eed374f1 Allow different types of mailboxes on the same dispatcher. See #2687 2013-04-19 13:42:58 +02:00
Roland
63c6bc7d88 restructure ToC of reST docs
- completely decouple Java/Scala and remove heading suffixes
- move all images into images/
- move cluster docs into “official” place
2013-04-19 13:40:37 +02:00
Roland
0e34edbcb3 implement ResumeWriting, see #3200
also included:
- a complete rewrite of the TCP docs based on real/tested/working code
  samples
- an EchoServer implementation which handles all the edge cases,
  available in Java & Scala
- renamed StopReading to SuspendReading to match up with ResumeReading
- addition of Inbox.watch()
- Inbox RST docs for Java(!) and Scala

not included:
- ScalaDoc / JavaDoc for all IO stuff
2013-04-18 15:05:48 +02:00
Roland Kuhn
57d71b0b44 Merge pull request #1336 from akka/wip-3081-PropsClosures-∂π
deprecate closure-taking Props factories, see #3081
2013-04-16 03:49:49 -07:00
Roland
28aad82b1a deprecate closure-taking Props factories, see #3081
- base Props on Deploy, Class and Seq[Any] (i.e. constructor args)
- remove deprecated Props usage from akka-docs sample code
- rewrite UntypedActorDocTestBase
- rewrite Java/Scala doc section on actor creation
- add migration guide entry
2013-04-16 12:48:31 +02:00
Roland
0e8b52d732 clean up DeathWatch semantics, see #3222
- DeathPactException => Stop in defaultStrategy
- ensure that after calling `context unwatch ref` we will not process a
  Terminated(`ref`) anymore, even if it was already enqueued (i.e.
  unwatch() happens between DeathWatchNotification and Terminated)
2013-04-16 11:17:48 +02:00
Patrik Nordwall
c77cdeb86b Merge pull request #1277 from akka/wip-3074-deprecate-actorFor-patriknw
Deprecate actorFor in favor of ActorSelection, see #3074
2013-04-08 11:48:48 -07:00
Patrik Nordwall
887af975ae Deprecate actorFor in favor of ActorSelection, see #3074
* Deprecate all actorFor methods
* resolveActorRef in provider
* Identify auto receive message
* Support ActorPath in actorSelection
* Support remote actor selections
* Additional tests of actor selection
* Update tests (keep most actorFor tests)
* Update samples to use actorSelection
* Updates to documentation
* Migration guide, including motivation
2013-04-08 18:11:52 +02:00
Roland Kuhn
cff43c34b0 clarify watch() idempotency (Scala) 2013-04-06 22:31:20 +03:00
Endre Sándor Varga
f8c3717ca1 Changed Failed to be a SystemMessage
- Moved system messages to their own package.
 - All queueing operations are now hidden behind a SystemMessageList value class
 - Introduced dual SystemMessageList types to encode the ordering in the type.
   - Protects against accidentally missed reverse calls or accidentally reversed lists
   - Makes ordering expectations by fields/parameters explicit
 - Fixed serialization tests
 - Fixes to logging in HierarchyStressSpec
2013-03-22 12:02:31 +01:00
Patrik Nordwall
f4d59383d7 Log actor failures in supervisor, see #2824
* To make it possible to override with application
  specific logging, or mute logging for certain failures
* Changed log level of Resume failures to WARNING, which
  caused all the changes to the tests
2013-03-11 13:33:37 +01:00
Roland
36cbf96d8e clarify context needed for ActorDSL.actor() and add @implicitNotFound 2013-02-28 15:07:53 +01:00
Roland Kuhn
fc180cde22 Merge pull request #1186 from akka/wip-2509-sender-preRestart-∂π
clarify `sender` in preRestart, see #2509
2013-02-22 07:52:51 -08:00
Roland
d2ef2e208c document availability of sender in supervisorStrategy 2013-02-22 15:42:42 +01:00
Roland
637e5c7863 clarify sender in preRestart, see #2509
also remove one warning about io-old.rst not being included in any
toctree
2013-02-22 14:47:51 +01:00
Endre Sándor Varga
7bf9f1f82b Added patterns for initialization for Scala #2297
(cherry-picked from e2aa3b5)
2013-02-22 14:13:32 +01:00
Rich Dougherty
44808c17ed Merge pull request #1095 from akka/wip-2874-router-doc-rich
Document router handling of PoisonPill messages. Fixes #2874
2013-02-12 16:31:04 -08:00
Rich Dougherty
3b98ba249b Improved router documentation. Fixes #2874
* Edit of basic usage and design.
  * Rearranged order of sections.
  * Added more information on special message types.
  * Added receiveN to JavaTestKit.
2013-02-12 12:25:41 +13:00
Endre Sándor Varga
c4abbd95bd Updated documentation to reflect changes in remoting 2013-02-10 13:00:30 +01:00
Patrik Nordwall
532131493f Correction of doc of unhandled, see #2736
* Fix wrong config property
* Adjusted description in java api
2012-11-23 09:03:35 +01:00
Roland
d98c4db1f9 fix up two oversights in previous doc change
- use discardOld=false also in Scala stash sample code
- correct link to UnnestedReceives sample
2012-11-06 14:15:57 +01:00
Roland Kuhn
666d79680d Merge pull request #851 from akka/wip-2642-Java-stash-∂π
change Java stash sample to become(), see #2642
2012-11-06 03:06:53 -08:00
Roland Kuhn
ec592fa769 Merge pull request #850 from akka/wip-2683-doc-become-∂π
better document become semantics, see #2683
2012-11-06 03:06:37 -08:00
Roland
ebd47bcdf6 correct small confusion (short: confuso) 2012-11-06 11:59:11 +01:00
Roland
657a24dbc8 change Java stash sample to become(), see #2642 2012-11-06 11:41:50 +01:00
Roland
f9eb59e883 better document become semantics, see #2683 2012-11-06 11:00:27 +01:00
Roland
645e713362 align Act.become with context.become, see #2682
- become uses discardOld=true
- becomeStacked uses discardOld=false
- update docs and demonstrate this difference
2012-11-06 09:34:45 +01:00
Viktor Klang
e6d54b59ac #2623 - Adding a @github@ substitution for links to github, as well as adding a pointer as to where to find the example code for the docs. 2012-10-22 11:14:22 +02:00
Viktor Klang
0ab417b2c1 #2612 - Clarifying ReceiveTimeout semantics in the documentation. 2012-10-14 03:35:09 +02:00
Björn Antonsson
aa0d4f4cfb Three more tweaks. #2413 2012-10-02 11:13:23 +02:00
Roland Kuhn
28c1e285f6 clarify purpose of ActWithStash 2012-09-26 21:35:35 +03:00
Roland
be877a6197 export supervision tools in Act trait, and other review fixes
- add more cross references to ActorDSL docs
- improve SBT command line for running the multi-node test
- correct small error in Restart Hooks section of actors.rst
2012-09-25 12:20:52 +02:00
Roland
0489c5daf1 document ActorDSL, see #2411 2012-09-25 08:25:24 +02:00
Viktor Klang
fe19318495 Removing warning about not touching instance fields in receive 2012-09-23 00:24:01 +02:00
Roland
9bc01ae265 add preprocessor for RST docs, see #2461 and #2431
The idea is to filter the sources, replacing @<var>@ occurrences with
the mapping for <var> (which is currently hard-coded). @@ -> @. In order
to make this work, I had to move the doc sources one directory down
(into akka-docs/rst) so that the filtered result could be in a sibling
directory so that relative links (to _sphinx plugins or real code) would
continue to work.

While I was at it I also changed it so that WARNINGs and ERRORs are not
swallowed into the debug dump anymore but printed at [warn] level
(minimum).

One piece of fallout is that the (online) html build is now run after
the normal one, not in parallel.
2012-09-21 13:58:47 +02:00
Renamed from akka-docs/scala/actors.rst (Browse further)