Commit graph

69 commits

Author SHA1 Message Date
Nikita Melkozerov
a8632befc6 =doc #16614 Include best-practice tip on messages in companion object in docs 2015-01-23 22:40:55 +05:00
Chris Grieger
6bc9815705 =doc fix typo 2014-12-06 10:06:59 +01:00
Konrad Malawski
8e3b73566c Merge pull request #15836 from PiyushMishra/PiyushMishra#15830-there-is-mismatch-between-akka-docs-and-akka-API
#15830 fix the mismatch between akka-docs and akka API
2014-09-15 13:03:36 +02:00
Piyush Mishra
89ac86bdea =doc#15830 fixed the mismatch between akka-docs and akka API 2014-09-14 16:05:35 +05:30
Viktor Klang
cd8e97c060 +act - 15757 - Reworks implementation of ActorSystem shutdown
* deprecates awaitTermination, shutdown and isTerminated
  * introduces a terminate-method that returns a Future[Unit]
  * introduces a whenTerminated-method that returns a Future[Unit]
  * simplifies the implementation by removing blocking constructs
  * adds tests for terminate() and whenTerminated
2014-08-25 15:49:28 +02:00
Stanislav Savulchik
c314f99481 =doc Improve formatting in scala actors.rst 2014-08-22 16:51:18 +07:00
Roland Kuhn
98c282f115 =doc clean up what-is-akka.rst and switch to www.typesafe.com
the latter is necessary because of broken DNS requirements which make
apex domains brittle (since they must resolve to an A record with a
single IP)
2014-03-13 12:42:47 +01:00
Roland Kuhn
f9ddb3757b Merge pull request #2043 from extesy/patch-1
=doc Fix typos in actors.rst
2014-03-04 16:35:13 +01:00
Oleg Anashkin
e2b0bb8d65 =doc Fixed typos in actor documentation 2014-03-04 06:56:57 -08:00
Roland Kuhn
6cb4ed381d =doc document why Deliver takes an ActorPath 2014-02-27 15:04:38 +01:00
Konrad Malawski
b7dd2a6af5 =doc #3886 improved example of PartialFunction.orElse composition
Changed orElse composition example to better highlight it's
possibilities. This is a follow up PR based on a discussion on
akka-user: https://groups.google.com/forum/#!topic/akka-user/vVUZPMeJmzw
2014-02-20 09:19:04 +00:00
Patrik Nordwall
e6f679fe8b +sam #3689 Make activator template of the fsm sample 2014-02-13 12:39:36 +01:00
Patrik Nordwall
d0f9c8f2fc Merge pull request #1953 from akka/wip-3102-remove-ComposableActor-patriknw
=doc #3102 Remove ComposableActor doc sample
2014-01-22 07:32:11 -08:00
Patrik Nordwall
7bae3082aa =doc #3102 Remove ComposableActor doc sample 2014-01-22 09:18:20 +01:00
Patrik Nordwall
d506f6df4f +act #3513 Clarify gracefulStop stopMessage, and add Java API 2014-01-21 17:15:09 +01:00
Patrik Nordwall
a11fb1dafc =act #3572 Add parens to sender
* because it is not referentially transparent; normally we reserved parens for
  side-effecting code but given how people thoughtlessly close over it we revised
  that that decision for sender
* caller can still omit parens
2014-01-17 18:21:14 +01:00
Roland Kuhn
5bcb750441 !act,doc,rem,tes 3823 remove deprecated Props methods
- rewrite deprecated usages to their recommended counterparts
- TestActorRef now verifies mailbox requirements
- CallingThreadMailbox now exposes proper messageQueue type for
  inspection
2014-01-17 09:12:44 +01:00
Roland Kuhn
780831469c =doc 3764 revise recommended practice for Props creation
- it is not recommended to use Props.apply(=> Actor) within an Actor
- it is recommended to use that method in the Props factory method in
  an actor’s companion object
2014-01-16 22:44:03 +01:00
Marcus Ljungblad
189f4888eb =doc #3564 Moving the Actor DSL doc section 2013-12-17 12:21:52 -05:00
Patrik Nordwall
b82698a354 =doc #3689 Make activator templates for remote samples 2013-12-12 16:03:03 +01:00
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