Commit graph

3025 commits

Author SHA1 Message Date
Derek Williams
67eae37500 Reduce allocations 2011-02-22 20:32:59 -07:00
Derek Williams
71a4e0cb8a Merge branch 'master' into derekjw-future 2011-02-22 18:58:32 -07:00
Derek Williams
88c1a7a5ed Add test for folding futures by composing 2011-02-22 18:57:25 -07:00
Derek Williams
2ee5d9f9f4 Add test for composing futures 2011-02-22 18:44:50 -07:00
Viktor Klang
169d97ee5f Fixing a regression in Actor 2011-02-22 19:21:45 +01:00
Viktor Klang
e2fc947d05 Merge branch 'wip-ebedd-tune' 2011-02-22 13:08:12 +01:00
Derek Williams
bbe2a3beb7 add Future.filter for use in for comprehensions 2011-02-21 18:28:17 -07:00
Derek Williams
cc1755f65b Add methods to Future for map, flatMap, and foreach 2011-02-21 17:24:51 -07:00
Viktor Klang
994736fe5e Added some minor migration comments for Scala 2.9.0 2011-02-21 02:50:22 +01:00
Viktor Klang
fb27cade64 Added a couple of final declarations on methods and reduced volatile reads 2011-02-20 22:32:36 +01:00
Roland Kuhn
872c44c35e first shot at CallingThreadDispatcher
- add some useful methods to akka.util.Switch and fix a typo
- adapt ActorModelSpec not to rely on the Meet message (would not work with
  CallingThreadDispatcher)
- add CallingThreadDispatcher
2011-02-20 21:45:54 +01:00
Garrick Evans
6ed7b4f442 Merge branch 'master' of github.com:jboner/akka 2011-02-15 15:58:58 -08:00
Garrick Evans
aeab74802c ticket 634; adds filters to respond to raw pressure functions; updated test spec 2011-02-15 15:58:43 -08:00
Peter Vlugter
92ddaacd79 Update to Multiverse 0.6.2 2011-02-16 11:19:15 +13:00
Derek Williams
b5b50ae039 Merge branch 'master' of github.com:jboner/akka 2011-02-14 21:41:39 -07:00
Derek Williams
2d8f03a782 Small change to better take advantage of latest Future changes 2011-02-14 21:41:31 -07:00
Viktor Klang
77a406dde7 Manual inlining and indentation 2011-02-15 01:28:29 +01:00
Viktor Klang
a17e9c271f Lowering overhead for receiving messages 2011-02-15 00:48:45 +01:00
Viktor Klang
86e6ffc321 Merge branch 'master' of github.com:jboner/akka into wip-ebedd-tune 2011-02-14 23:09:22 +01:00
Viktor Klang
ce5ad5eb97 Adding support for PoisonPill 2011-02-14 23:08:10 +01:00
Derek Williams
e7ad2a9d5d Add Future.receive(pf: PartialFunction[Any,Unit]), closes #636 2011-02-13 21:11:37 -07:00
Derek Williams
7437209ff4 Merge branch '661-derekjw' 2011-02-13 20:01:40 -07:00
Derek Williams
1e09ea8d26 Refactoring based on Viktor's suggestions 2011-02-13 19:59:54 -07:00
Viktor Klang
0d75541a4c Spellchecking and elided a try-block 2011-02-14 02:51:26 +01:00
Viktor Klang
5cae50d3bf Removing conditional scheduling 2011-02-14 02:40:57 +01:00
Viktor Klang
b5f9991ac9 Possible optimization for EBEDD 2011-02-14 02:34:40 +01:00
Derek Williams
94c4546d57 Allow specifying the timeunit of a Future's timeout. The compiler should also no longer store the timeout field since it is not referenced in any methods anymore 2011-02-12 12:26:56 -07:00
Derek Williams
58359e00c6 Add method on Future to await and return the result. Works like resultWithin, but does not need an explicit timeout. 2011-02-12 11:40:40 -07:00
Garrick Evans
97b26b63ec fix tabs; remove debugging log line 2011-02-12 10:01:29 -08:00
Garrick Evans
ec2dfe464a ticket 664 - update continuation handling to (re)support updating timeout 2011-02-12 09:57:24 -08:00
Derek Williams
6285ad14d6 move repeated code to it's own method, replace loop with tailrec 2011-02-12 09:16:29 -07:00
Derek Williams
c9449a0f48 Rename completeWithValue to complete 2011-02-12 09:01:15 -07:00
Derek Williams
b625b56ee3 Throw an exception if Future.await is called on an expired and uncompleted Future. Ref #659 2011-02-11 15:12:35 -07:00
Derek Williams
db79e2bd62 Use an Option[Either[Throwable, T]] to hold the value of a Future 2011-02-11 14:46:39 -07:00
Viktor Klang
44cdd033d6 Merge branch 'master' of github.com:jboner/akka 2011-02-11 20:13:55 +01:00
Viktor Klang
d7ae45dd75 Potential fix for race-condition in RemoteClient 2011-02-11 20:13:42 +01:00
Derek Williams
73322f8324 Update scalatest to version 1.3, closes #663 2011-02-11 10:08:05 -07:00
Viktor Klang
58ef109d87 Fixing neglected configuration in WorkStealer 2011-02-10 13:17:35 +01:00
Garrick Evans
dd02d40225 Merge branch 'master' of github.com:jboner/akka 2011-02-08 07:22:45 -08:00
Garrick Evans
9834f41585 changed pass criteria for testBoundedCapacityActorPoolWithMailboxPressure to account for more capacity additions 2011-02-08 07:22:23 -08:00
Viktor Klang
0c90597b1c Merge branch 'master' of github.com:jboner/akka 2011-02-08 16:14:50 +01:00
Viktor Klang
4f9f7d295d API improvements to Futures and some code cleanup 2011-02-08 16:14:40 +01:00
Viktor Klang
9f21b22dc3 Fixing ticket #652 - Reaping expired futures 2011-02-08 15:06:13 +01:00
Peter Vlugter
98128d2315 Exclude samples and sbt plugin from parent pom 2011-02-08 16:16:01 +13:00
Peter Vlugter
c8f528cb3e Fix publish release to include parent poms correctly 2011-02-08 12:36:47 +13:00
Viktor Klang
69c402ab2c Fixing ticket #645 adding support for resultWithin on Future 2011-02-07 18:59:49 +01:00
Viktor Klang
810f6cfca9 Fixing #648 Adding support for configuring Netty backlog in akka config 2011-02-07 10:31:33 +01:00
Peter Vlugter
6a93610bda Fix for local actor ref home address
- home address is set on deserialization
- flag for client-managed actor ref so that having
  a home address doesn't imply client-managed
2011-02-04 15:16:46 +13:00
Viktor Klang
ad6498f3e1 Adding Java API for ReceiveTimeout 2011-02-03 14:37:08 +01:00
Garrick Evans
d68960f0b0 Merge branch 'master' of github.com:jboner/akka 2011-02-01 15:00:38 -08:00