Commit graph

3022 commits

Author SHA1 Message Date
Viktor Klang
f74151a67f Switched to FutureTimeoutException for Future.apply/Future.get 2011-03-22 22:20:32 +01:00
Viktor Klang
65f24877b3 Merge branch 'master' of github.com:jboner/akka 2011-03-22 22:13:00 +01:00
Viktor Klang
3197596bd6 Adding Java API for reduce, fold, apply and firstCompletedOf, adding << and apply() to CompletableFuture + a lot of docs 2011-03-22 22:12:16 +01:00
Jonas Bonér
0a943565c4 Merge branch 'master' of github.com:jboner/akka 2011-03-22 18:59:53 +01:00
Jonas Bonér
3bd5cc9cd3 Added SLF4 module with Logging trait and Event Handler 2011-03-22 18:59:31 +01:00
Viktor Klang
566d55a8bb Renaming resultWithin to valueWithin, awaitResult to awaitValue to aling the naming, and then deprecating the blocking methods in Futures 2011-03-22 17:20:35 +01:00
Viktor Klang
1dfd454887 Switching AlreadyCompletedFuture to always be expired, good for GC eligibility etc 2011-03-22 14:45:31 +01:00
Martin Krasser
2a516beac3 Merge branch '667-krasserm' 2011-03-22 09:34:33 +01:00
Viktor Klang
23f5a51358 Minor optimization for getClassFor and added some comments 2011-03-21 21:39:13 +01:00
Viktor Klang
815bb0757f Fixing classloader priority loading 2011-03-21 14:16:28 +01:00
Viktor Klang
5069e55af6 Merge branch 'master' of github.com:jboner/akka 2011-03-21 13:16:58 +01:00
Derek Williams
32be3162bf Prevent throwables thrown in futures from disrupting the rest of the system. Fixes #710 2011-03-20 17:15:23 -06:00
Viktor Klang
311148416f Rewriting getClassFor to do a fall-back approach, first test the specified classloader, then test the current threads context loader, then try the ReflectiveAccess` classloader and the Class.forName 2011-03-20 18:32:32 +01:00
Debasish Ghosh
29e7328bdb added test cases for Java serialization of actors in course of documenting the stuff in the wiki 2011-03-20 22:16:26 +05:30
Viktor Klang
d5ffc7e739 Merge branch 'master' of github.com:jboner/akka 2011-03-19 17:52:59 +01:00
Viktor Klang
bee3e7959e Giving a 1s time window for the requested change to occur 2011-03-19 17:52:24 +01:00
Jonas Bonér
59319cfe34 Merge branch 'master' of github.com:jboner/akka 2011-03-19 12:22:17 +01:00
Jonas Bonér
24a1d39b3c added event handler logging + minor reformatting and cleanup 2011-03-19 01:37:48 +01:00
Jonas Bonér
0dba3ac29c removed some println 2011-03-19 01:06:26 +01:00
Jonas Bonér
e7a410dc0c Fixed bug with restarting supervised supervisor that had done linking in constructor + Changed all calls to EventHandler to use direct 'error' and 'warning' methods for improved performance 2011-03-18 23:04:48 +01:00
Viktor Klang
89ecb74147 Resolving conflict 2011-03-18 20:47:37 +01:00
Viktor Klang
c9338e64f7 Switching to PoisonPill to shut down Per-Session actors, and restructuring some Future-code to avoid wasteful object creation 2011-03-18 18:03:10 +01:00
Jonas Bonér
18b4c55a06 Added hierarchical event handler level to generic event publishing 2011-03-18 17:58:58 +01:00
Viktor Klang
548502958e Removing 2 vars from Future, and adding some ScalaDoc 2011-03-18 17:37:25 +01:00
Viktor Klang
496cbae801 Making thread transient in Event and adding WTF comment 2011-03-18 17:26:53 +01:00
Viktor Klang
bf4491170b Merge branch 'master' of github.com:jboner/akka 2011-03-18 11:24:24 +01:00
Viktor Klang
3dd4cb99b1 Removing verbose type annotation 2011-03-18 11:18:03 +01:00
Viktor Klang
2255be4f0c Fixing stall issue in remote pipeline 2011-03-18 10:41:49 +01:00
Peter Vlugter
94a4d09007 Fix for event handler levels 2011-03-18 21:49:36 +13:00
Viktor Klang
452a97db3f Reducing overhead and locking involved in Futures.fold and Futures.reduce 2011-03-18 01:21:26 +01:00
Viktor Klang
8b8999cf32 Merge branch 'master' of github.com:jboner/akka 2011-03-17 22:58:28 +01:00
Roland Kuhn
52e5e35e50 Merge branch 'wip-CallingThreadDispatcher'
Conflicts:
	akka-actor/src/test/scala/akka/dispatch/ActorModelSpec.scala
	project/build/AkkaProject.scala
both resolved by "union" approach

- change wavesOfActors test for CTD: scheduling SHUTDOWN 10000 times does not
  work so well...
- add executeFuture with trivial implementation, TBC
2011-03-17 22:18:39 +01:00
Roland Kuhn
18080cbb89 make FSMTimingSpec more deterministic
The test for repeated timer had a race condition between receiving the sixth
Tick and the Cancel message. Fix this by cancelling from within after the fifth
Tick received.
2011-03-17 20:49:38 +01:00
Roland Kuhn
d15e5e7919 ignore VIM swap files (and clean up previous accident) 2011-03-17 17:59:22 +01:00
Martin Krasser
ef4bdcf397 Preliminary upgrade to latest Camel development snapshot. 2011-03-17 12:38:00 +01:00
Viktor Klang
7cf5e5919b Making sure that theres no allocation for ActorRef.invoke() 2011-03-16 21:40:02 +01:00
Viktor Klang
53c8dfff7b Adding yet another comment to ActorPool 2011-03-16 21:18:10 +01:00
Viktor Klang
a5aa5b4a7d Faster than Derek! Changing completeWith(Future) to be lazy and not eager 2011-03-16 21:17:38 +01:00
Viktor Klang
6ee5420147 Added some more comments to ActorPool 2011-03-16 19:36:16 +01:00
Viktor Klang
1c649d47e4 ActorPool code cleanup, fixing some qmarks and some minor defects 2011-03-16 19:31:54 +01:00
Viktor Klang
d237e09740 Restructuring some methods in ActorPool, and switch to PoisonPill for postStop cleanup, to let workers finish their tasks before shutting down 2011-03-16 14:13:48 +01:00
Viktor Klang
f7e215c1be Refactoring, reformatting and fixes to ActorPool, including ticket 705 2011-03-16 13:20:00 +01:00
Viktor Klang
fadd30e96b Fixing #706 2011-03-16 12:37:48 +01:00
Viktor Klang
2d80ff4e04 Just saved 3 allocations per Actor instance 2011-03-16 01:07:40 +01:00
Viktor Klang
2a88dd67a9 Switching to unfair locking 2011-03-15 10:08:51 +01:00
Viktor Klang
3880506620 Adding a test for ticket 703 2011-03-15 01:00:02 +01:00
Viktor Klang
63bad2bb12 No, seriously, fixing ticket #703 2011-03-15 00:53:40 +01:00
Viktor Klang
38b291749a Upgrading the fix for overloading and TypedActors 2011-03-14 19:00:52 +01:00
Viktor Klang
a856913960 Moving AkkaLoader from akka.servlet in akka-http to akka.util, closing ticket #701 2011-03-14 17:53:35 +01:00
Viktor Klang
b83268d6c9 Removign leftover debug statement. My bad. 2011-03-14 17:04:21 +01:00