Commit graph

345 commits

Author SHA1 Message Date
Roland
34a0f005b1 Merge branch 'master' into wip-1581-patterns-ask 2012-01-20 19:29:17 +01:00
Roland
1f99b425de docs for ask/pipeTo patterns 2012-01-20 18:09:26 +01:00
Roland
020c6b61da move all Ask stuff to akka.pattern
- remove ?(msg, timeout), should always use ?(msg)(timeout) because of
  Scala’s only Martin-acknowledged design flaw of being able to pass
  tuples into single-arg methods without adding another pair of parens
- put a provider into all actor refs, because they all are created by
  and associated with one
- treat all terminated refs equally: tell(msg) and return broken promise
2012-01-20 15:45:53 +01:00
Viktor Klang
8dfe619140 #1703 & #1693 - moving daemonicity to one place, and in doing so creating a thread factory in ActorSystem 2012-01-20 12:30:19 +01:00
Viktor Klang
149fbea5a7 Updating Copyright as per #1660 2012-01-19 18:21:06 +01:00
Viktor Klang
19347dadbc Renaming TestActorRef.apply to receive, in order to get forwarders generated & improve Java API 2012-01-19 15:49:44 +01:00
Roland
1daaee98aa Merge remote-tracking branch 'origin/master' into wip-1581-patterns-ask 2012-01-18 14:20:13 +01:00
Roland
2bed2cb954 move everything into package akka.pattern 2012-01-18 10:18:51 +01:00
Roland
9c762dec20 polish “ask” pattern, see #1581
- move package objects into their respective package.scala file in the
  right directories
- make implicit conversion as well as explicit facility available under
  the same name akka.patterns.ask for easy import
- revert the logic to produce the Promise for the PromiseActorRef within
  the ActorRefProvider; supporting wrapping of external Promises does
  not seem to justify doing needless extra allocations in case of
  failure
- add scaladocs
- factor out “def provider” into trait ActorRefWithProvider, as it
  didn’t feel right attaching this information “by exception” to
  MinimalActorRef
2012-01-17 17:35:33 +01:00
Patrik Nordwall
0cf5c22eac Fixed target.nodes config property. See #1599 2012-01-17 08:48:41 +01:00
Viktor Klang
f4b9733c03 Merge branch 'master' into wip-1626-1627-typed-actors-√ 2012-01-16 15:48:39 +01:00
Viktor Klang
de151617f2 Creating TypedProps and implementing support for wrapping an arbitrary ActorRef as a TypedActor 2012-01-16 14:11:29 +01:00
patriknw
43059d6584 Merge pull request #211 from jboner/wip-1406-migration-patriknw
Migration kit and start of migration documentation. See #1406.
2012-01-16 01:20:18 -08:00
Roland Kuhn
312ea1bef1 Merge pull request #212 from jboner/wip-1621-logging-∂π
fix RemoteDeathWatchSpec and improve logging
2012-01-13 05:59:03 -08:00
Roland
b01640fddb incorporate review feedback
- tons of documentation added
- lift extraction of logClass into LogSource type-class
- prefer Props.empty
2012-01-13 13:50:42 +01:00
Patrik Nordwall
8d10d44929 Support config of custom router. See #1623 2012-01-12 16:37:08 +01:00
Roland
d0498eb32e add Class[_] to LogEvent
- it is customary to use class name for categorizing logs, hence we
  should support it; class is taken from logSource.getClass
- update SLF4J module to use logClass as category and set logSource in
  MDC "akkaSource"
- add docs
2012-01-12 13:29:17 +01:00
Patrik Nordwall
4dd5e9612b Migration kit and start of migration documentation. See #1406.
* Documentation of migration kit
* Documentation of some of the changes
* akka-actor-migration module containing GlobalActorSystem, OldXxx classes and some implicit conversions
* Tried migration of WebWords sample
* Tried migration of akka-samples/async-workers
* Tried migration of akka-samples-trading
2012-01-12 13:27:58 +01:00
Patrik Nordwall
2399f02531 Improvements based on feedback. See #1619 2012-01-12 09:53:53 +01:00
Patrik Nordwall
6a12fb7876 Implemented SmallestMailboxRouter. See #1619 2012-01-11 14:06:47 +01:00
Patrik Nordwall
762a6017e9 Verify config override of router nr-of-instances. See #1607
* It wasn't a bug. I think the confusion came from config without 'router' defined.
* Added test
* Added some clarification to docs
2012-01-10 17:50:17 +01:00
Patrik Nordwall
19845d93e8 Improvements and finalization of dynamically resizable routers, replaces ActorPool. See 1557
* resize on nth message instead of always each message
* improved pressure evaluation
* more tests
* documentation
* removed ActorPool
2012-01-10 15:53:27 +01:00
Patrik Nordwall
ed2b65c402 DOC: Routing (Java). See #1600 2012-01-05 17:59:19 +01:00
Patrik Nordwall
1850f6e5b7 DOC: Minor improvement of remote docs 2012-01-05 09:31:21 +01:00
patriknw
ffb6a03fce Merge pull request #200 from jboner/wip-1583-patterns-stop-patriknw
Added akka.pattern.gracefulStop. See #1583
2012-01-03 02:43:43 -08:00
Patrik Nordwall
5ba0963d71 Added documentation. See #1583 2012-01-03 11:41:49 +01:00
Patrik Nordwall
0a3021eb60 DOC: Fixed wrong documentation of bounded mailbox, mailbox-capacity should be used, not task-queue-type. See #1601 2012-01-03 10:03:58 +01:00
Nikolay Botev
ce1d2f4721 akka.patterns.ask everywhere 2012-01-01 22:23:19 -08:00
Nikolay Botev
a44da38e2b ask-2.0 2012-01-01 22:23:08 -08:00
Viktor Klang
fbb7cb20a1 Adding Java docs for Serialization, and discovered some flaws with the Java API, that have been fixed 2011-12-30 22:06:41 +01:00
Viktor Klang
d8b2f88ced Adding Scala reST docs for Serialization 2011-12-30 20:57:40 +01:00
Viktor Klang
ca911038eb Adding Scala reST docs for Serialization 2011-12-30 20:46:04 +01:00
Viktor Klang
1dc981725d Catching up with master 2011-12-30 19:06:16 +01:00
Viktor Klang
cffe60bf43 Closing #1584 and #1585 2011-12-30 14:15:26 +01:00
Viktor Klang
840cacfd2a initial commit on serialization docs 2011-12-30 14:14:12 +01:00
Viktor Klang
b34dc4c33b Introducing ExecutionContext to MessageDispatcher and attaching it to Future 2011-12-30 13:48:31 +01:00
Roland
e7a120f923 document EventStream, see #1507
- fix some Java API issues
- also mention dead letters, see #1491
2011-12-30 00:00:25 +01:00
Roland
4e3e2633a4 integrate Java remoting sample into docs 2011-12-28 19:09:08 +01:00
Roland
6f721ec106 fix eclipse build: config/ is gone, must not depend on it 2011-12-28 16:50:57 +01:00
Roland
05e11b6fa3 Merge remote-tracking branch 'origin/master' into wip-improve-docs-rk 2011-12-28 16:15:20 +01:00
Roland
2fbef5b5ce various documentation improvements
- document DeathWatch
- actorOf vs. actorFor
2011-12-28 13:13:39 +01:00
Viktor Klang
4e4d956211 Removing nodename from the necessities in the remoting docs 2011-12-27 18:17:09 +01:00
viktorklang
3bca6d3e15 Merge pull request #184 from jboner/1546-remote-docs-he
1546 remote docs he
2011-12-27 09:12:07 -08:00
Roland
1c770a2409 add a few cross references to remoting docs 2011-12-26 18:39:42 +01:00
Viktor Klang
6ca343eb6e Adding documentation for ask timeout expiry 2011-12-26 00:37:52 +01:00
Roland
1be9c1d99d include akka-sample-remote in remoting.rst 2011-12-23 23:58:39 +01:00
Roland
6e789f7f96 improve docs on context.actorFor 2011-12-23 22:41:48 +01:00
Roland
d257ad191b improve docs for expecting exceptions 2011-12-23 21:31:12 +01:00
Henrik Engstrom
0bcdc85bbc Updated after feedback. See #1546 2011-12-23 12:11:55 +01:00
Henrik Engstrom
e000bb5339 Fixed typos and wordings.See #1546 2011-12-23 11:29:51 +01:00