Commit graph

877 commits

Author SHA1 Message Date
viktorklang
1ea4dd210f Merge pull request #341 from jboner/wip-1851-AllForOne-∂π
remove termination-triggered slaughter, see #1851
2012-02-21 00:29:50 -08:00
Roland
72ab6429c2 document AllForOneStrategy better, see #1851 2012-02-21 08:51:51 +01:00
viktorklang
a0bb415393 Merge pull request #338 from jboner/wip-1845-monitor-typed-actors-√
Wip 1845 monitor typed actors √
2012-02-20 13:02:42 -08:00
Viktor Klang
a2a9996ee6 Fixing typo 2012-02-20 22:02:15 +01:00
viktorklang
c435f10613 Merge pull request #337 from jboner/wip-1828-document-ec-√
Adding example on how to roll your own ExecutionContext
2012-02-20 12:59:38 -08:00
Viktor Klang
7c43d049a9 Adding Receiver-docs 2012-02-20 16:25:01 +01:00
Viktor Klang
0f685bdaae Adding example on how to roll your own ExecutionContext 2012-02-20 15:43:17 +01:00
Viktor Klang
da00a37f64 Removing unused RemoteServerWriteFailed event, and added docs describing the possibility to listen to remote events 2012-02-20 15:14:23 +01:00
Roland Kuhn
ea45c8bdbb Merge pull request #334 from jboner/wip-system-and-routers-∂π
Wip system and routers ∂π
2012-02-20 01:59:32 -08:00
viktorklang
5e2b74bfe6 Merge pull request #328 from jboner/wip-1821-checked-exceptions-√
First stab, do we want to go for throws Throwable or even just switch to...
2012-02-19 13:49:56 -08:00
Roland
62be4dafee fix Java API for creating SupervisorStrategy from array 2012-02-19 10:13:53 +01:00
Roland
ec15fd6cfd add TestKit.setAutoPilot, see #1807 2012-02-19 00:09:04 +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
Henrik Engstrom
f4069ee776 Fixed minor typos in the Futures doc 2012-02-18 14:01:43 +01:00
Viktor Klang
ee08695e6f #1830 - Adding warning section in dispatcher docs for the default dispatcher 2012-02-17 13:06:50 +01:00
Viktor Klang
ee6e7e3a2d Fixing #1837 2012-02-17 13:01:22 +01:00
Henrik Engstrom
3955813db7 Missed one place in the documentation containing a reference to an old version of play-mini. All refs are now ok. 2012-02-17 10:36:44 +01:00
Henrik Engstrom
073b6912f9 Updated version of play-mini in documentation. 2012-02-17 10:02:19 +01:00
Viktor Klang
e88f2bd936 First stab, do we want to go for throws Throwable or even just switch to RuntimeExceptions? 2012-02-16 12:31:49 +01:00
viktorklang
6af612153e Merge pull request #326 from waywardmonkeys/typos
Fix spelling errors.
2012-02-16 02:25:27 -08:00
Patrik Nordwall
8dda029d15 DOC: Migration guide for routing. See #1700 2012-02-16 11:23:03 +01:00
Bruce Mitchener
3d90f480d0 Fix spelling errors. 2012-02-14 19:50:01 +07:00
Roland
669a4ff9ca make unbalanced Address() constructor private, fix parsing, see #1806 2012-02-13 17:46:14 +01:00
viktorklang
9b9378c2f8 Merge pull request #324 from jboner/wip-1538-http-docs-he
Wip 1538 http docs he
2012-02-13 05:12:10 -08:00
viktorklang
216513933a Merge pull request #323 from jboner/wip-1808-timeout-patriknw
Replace akka.actor.timeout with specfic settings. See #1808
2012-02-13 04:52:30 -08:00
Henrik Engstrom
1e879b6d03 Added HTTP docs with a sample application. See #1538 2012-02-12 23:09:47 +01:00
Viktor Klang
49f101d186 #1813 - Adding clarification regarding JMM and Futures 2012-02-12 19:20:00 +01:00
Patrik Nordwall
be70801289 DOC: Corrections for the MultiJVM doc. See #1801 2012-02-10 17:14:05 +01:00
Patrik Nordwall
e017aeef08 Replace akka.actor.timeout with specfic settings. See #1808
* ActorTimeout (akka.actor.timeout) was used to all sorts of things.
* TestKit default-timeout
* TypedActor timeout for non void methods
* Transactor coordinated-timeout
* ZeroMQ new-socket-timeout
* And in various tests
2012-02-10 16:07:17 +01:00
Roland
47741511aa Merge branch 'wip-1750-remove-ReflectiveAccess-∂π' 2012-02-10 14:38:58 +01:00
Roland
6786e45dc7 Merge branch 'wip-1804-router-create-race-∂π' 2012-02-10 14:38:51 +01: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
09897459d6 fix up Java API for serializers (both use and implement) 2012-02-10 12:45:22 +01:00
Roland
d2f28a06cd Merge remote-tracking branch 'origin/master' into wip-1750-remove-ReflectiveAccess-∂π 2012-02-10 11:41:47 +01:00
Roland
dca309c535 incorporate Patrik’s feedback
- rename to DynamicAccess
- rename to createInstanceFor / createClassFor
- fix a few little things
2012-02-10 11:36:23 +01:00
viktorklang
eb02d461c7 Merge pull request #319 from jboner/wip-futureblocking-√
Removing the erronous execution context and added Java API
2012-02-10 02:22:14 -08:00
Patrik Nordwall
5b50ca96f2 Minor improvement. See #1713 2012-02-10 10:40:24 +01:00
Viktor Klang
d910eeae69 Removing the erronous execution context and added Java API 2012-02-10 08:20:36 +01:00
Patrik Nordwall
4a5f5eef21 Improve docs and api for zeromq. See #1713
* Wrote a comprehensive example for pub-sub
* Clarified how publish to topic is done
* Several minor, but important, api adjustments for the java api, and some also profit for scala
* Added documentation for Java and updated documentation for Scala
2012-02-09 21:25:22 +01:00
Jonas Bonér
51a218b87f Fixes ticket #1809 - Harmonize configuration option names.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-09 20:40:09 +01:00
Roland
b193bcee04 incorporate Viktor’s review 2012-02-09 19:26:02 +01:00
Roland
2ce47d6bb5 Bye-bye ReflectiveAccess, introducing PropertyMaster, see #1750
- PropertyMaster is the only place in Akka which calls
  ClassLoader.getClass (apart from kernel, which might be special)
- all PropertyMaster methods (there are only three) take a ClassManifest
  of what is to be constructed, and they verify that the obtained object
  is actually compatible with the required type

Other stuff:
- noticed that I had forgotten to change to ExtendedActorSystem when
  constructing Extensions by ExtensionKey (damn you, reflection!)
- moved Serializer.currentSystem into JavaSerializer, because that’s the
  only one needing it (it’s only used in readResolve() methods)
- Serializers are constructed now with one-arg constructor taking
  ExtendedActorSystem (if that exists, otherwise no-arg as before), to
  allow JavaSerializer to do its magic; possibly necessary for others as
  well
- Removed all Option[ClassLoader] signatures
- made it so that the ActorSystem will try context class loader, then
  the class loader which loaded the class actually calling into
  ActorSystem.apply, then the loader which loaded ActorSystemImpl
- for the second of the above I added a (reflectively accessed hopefully
  safe) facility for getting caller Class[_] objects by using
  sun.reflect.Reflection; this is optional an defaults to None, e.g. on
  Android, which means that getting the caller’s classloader is done on
  a best effort basis (there’s nothing we can do because a StackTrace
  does not contain actual Class[_] objects).
- refactored DurableMailbox to contain the owner val and use that
  instead of declaring that in all subclasses
2012-02-09 11:56:43 +01:00
Roland
34d9714e22 add clarification to dispatcher-id documentation 2012-02-08 15:54:58 +01:00
Patrik Nordwall
81451208f1 Pi is not a constant, it has changed 2012-02-08 13:37:19 +01:00
Patrik Nordwall
c43b024cac Fixed the failing doc test 2012-02-08 13:37:00 +01:00
Roland
771da2c7e2 clarify wording or Pi sample configuration section
also move Pi.scala into the correct directory so that it can actually
be launched as Scala Application from Eclipse
2012-02-08 11:25:30 +01:00
Roland
7c6b9db17b mark two doc tests as TimingTests 2012-02-08 11:25:30 +01:00
Patrik Nordwall
b25d25e6f7 DOC: Error Kernel example in Actor docs doesn't do what is intended. See #1803 2012-02-08 10:04:47 +01:00
patriknw
ba1b9716ee Merge pull request #314 from jboner/wip-1625-slf4j-test-patriknw
Test for Slf4jEventHandler. See #1625
2012-02-07 08:58:10 -08:00
Patrik Nordwall
4e00eb889f Test for Slf4jEventHandler. See #1625
* Test of MDC parameters and other output using a custom logback appender
* Logback test dependency
* Changed to encoding instead of deprecated layout
2012-02-07 16:25:54 +01:00