Commit graph

41 commits

Author SHA1 Message Date
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
Patrik Nordwall
64a1fb0235 Rename a few things, see #944
* hashKey
* hashMapping ConsistentHashMapping
* withHashMapper ConsistentHashMapper
2012-09-17 13:24:18 +02:00
Patrik Nordwall
48a0fda991 Java doc sample for consistent hashing router, see #944
* Allow return null as undefined ConsistentHashMapping
2012-09-17 11:40:06 +02:00
Patrik Nordwall
50fc5a03a2 Complete unfinished ConsistentHashingRouterDocSpec, see #944 2012-09-14 14:28:47 +02:00
Patrik Nordwall
a4dd6b7547 Support partial function to map message to hash key, see #944
* Partial function, ConsistentHashRoute, for Scala API
* withConsistentHashMapping ConsistentHashMapping for
  Java API
* Updated documentation
2012-09-14 13:47:58 +02:00
Patrik Nordwall
ea78e6d805 Documentation of constent hashing router, see #944
* Document sample to illustrate usage
* Rewrote RouterViaConfig to real DocSpec
* Added configuration snippets for all router types
2012-09-11 20:51:26 +02:00
Viktor Klang
d209247b7f Clarifying in the docs that the user gets an ActorRef and not a RoutedActorRef 2012-08-30 18:09:31 +02:00
Viktor Klang
30a32994ea #2192 - Adding a doc note about not needing Props.creator when specifying routees via sequence of actors. 2012-07-13 11:50:46 +02:00
Björn Antonsson
5fd1aad0d0 added docs about BalancingDispatcher and routers, see #2080 2012-05-28 10:33:59 +02:00
Viktor Klang
021d7fcfeb #2136 - Making it possible to use balancing dispatcher for routees but not routers, changing the docs and updating the tests 2012-05-25 17:42:12 +02:00
Roland
dd30e81a1a document Specs2 + TestKit, see #2068, plus fix up broken includes
- include move of doc samples out of akka package also in the
  includecode directives
- fix broken serialization docs, which require one thing in the akka
  package
2012-05-24 22:23:36 +02:00
Viktor Klang
ea1817b6d8 Merging with latest master 2012-05-24 11:59:36 +02:00
Roland
9ac11a6432 improve documentation of explicitly given routees 2012-05-22 13:07:05 +02:00
Jonas Bonér
6d962174fe Added documentation about the verification of BalancingDispatcher + Router (added to both Dispatcher and Routing docs) 2012-05-18 16:16:41 +02:00
Björn Antonsson
38d43aee13 Added caution about custom routers to docs 2012-05-11 18:31:20 +02:00
Viktor Klang
c4bca058a5 Clarifying that you cannot change dispatcher after the actor has been created. 2012-05-09 13:55:20 +02:00
Björn Antonsson
99d22be048 Added doc note on routers and termination 2012-04-25 11:56:41 +02:00
Peter Vlugter
d7fe025fa2 Update docs theme 2012-03-06 13:20:00 +13:00
Roland
c9b768af7f move to github.com/akka/akka in docs 2012-03-05 10:27:17 +01:00
Roland
ef0af0b47f document RemoteRouterConfig, see #1846
- fix Java API
- change to pass in Addresses so that validation happens earlier
2012-02-21 15:37:51 +01:00
Roland
0f48b9f3eb make supervisorStrategy of Router configurable, see #1835
- also do not scrap router’s children upon restart
- and add docs and tests
2012-02-18 22:15:39 +01:00
Bruce Mitchener
3d90f480d0 Fix spelling errors. 2012-02-14 19:50:01 +07:00
Roland
36247b10fe fix some more comments and make Router dispatcher configurable
- assert locking balance when using Unsafe.instance.monitorExit
- add RouterConfig.routerDispatcher
- re-enable “busy” resizer test after switching to BalancingDispatcher
- document resizer asynchronicity and how to configure dispatchers
2012-02-10 14:13:40 +01:00
Roland
9ba5043539 add router design rationale, see #1772 2012-02-06 12:18:08 +01:00
Patrik Nordwall
8d10d44929 Support config of custom router. See #1623 2012-01-12 16:37:08 +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
Henrik Engstrom
0aee9029a8 Fixed typo. See #1063 2011-12-15 19:04:57 +01:00
Henrik Engstrom
d68777e76e Updated after feedback. See #1063 2011-12-15 18:21:56 +01:00
Henrik Engstrom
41ce42c8f7 Upgraded routing documentation to Akka 2.0. See #1063 2011-12-15 16:36:04 +01:00
Jonas Bonér
d725c9c681 Updated docs with changes to 'actorOf(Props(..))'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 14:53:18 +01:00
Jonas Bonér
c9b787f029 Removed all 'actorOf' methods that does not take a 'Props', and changed all callers to use 'actorOf(Props(..))'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 14:09:40 +01:00
Viktor Klang
913ef5d232 Implementing support for custom eviction actions in ActorPool as well as providing default Props for workers 2011-10-07 11:20:49 +02:00
Viktor Klang
bbb79d8e0d Start removed but cluster is broken 2011-09-08 11:02:17 +02:00
Viktor Klang
cd3cb8cd57 Renaming akka.routing.Dispatcher to Router, as per ticket #729 2011-05-20 12:29:48 +02:00
Viktor Klang
207a3743f5 Adding Future docs for Java API and fixing warning for routing.rst 2011-05-10 16:48:33 +02:00
Patrik Nordwall
18b58d9f63 Docs: Cleanup of routing
(cherry picked from commit 744d4c2dd626913898ed1456bb5fc287236e83a2)
2011-05-06 10:13:23 +02:00
Patrik Nordwall
97105ba625 Docs: Moved routing from pending
(cherry picked from commit d60de88117e18fc8cadb6b845351c4ad95f5dd43)
2011-05-06 10:13:10 +02:00
Renamed from akka-docs/pending/routing-scala.rst (Browse further)