Commit graph

8804 commits

Author SHA1 Message Date
Derek Williams
cac7c8cdda Proper fault tolerance in IO test Actors and less blocking in tests 2012-01-17 23:45:37 -07: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
517fceae34 Adjust pool size of default-dispatcher. See #1654
* Changed reference.conf
  core-pool-size-min = 6
  core-pool-size-factor = 3.0
  core-pool-size-max = 64
  max-pool-size-min = 6
  max-pool-size-factor  = 3.0
  max-pool-size-max = 64
* Limited to smaller pool size in AkkaSpec
* Adjusted some tests that needed more threads
2012-01-17 17:28:57 +01:00
Roland Kuhn
d62902c43c fix a few typos in ActorSystem’s scaladoc. We need those compiled snippets NOW. 2012-01-17 15:58:34 +01:00
patriknw
2e6061b411 Merge pull request #220 from jboner/wip-1606-remote-routers-patriknw
Handle remote routers transparently
2012-01-17 06:56:42 -08:00
viktorklang
c71514bc73 Merge pull request #219 from jboner/wip-1650-Future-or-√
Fixing ticket #1650
2012-01-17 06:56:31 -08:00
Roland Kuhn
adb2c8233d Merge pull request #195 from mjkrumlauf/patch-1
Javadoc modification: Changed system.actorOf(classOf[MyActor]) to system...
2012-01-17 06:55:23 -08:00
Viktor Klang
3f0b1772c8 Simplified the test cases for Future.or 2012-01-17 15:54:56 +01:00
Patrik Nordwall
d95e0629b5 Removed the RoutedActorRef from RouteeProvider constructor. See #1606 2012-01-17 15:53:12 +01:00
Viktor Klang
a019c9e8a6 Adding tests for the chaining 2012-01-17 15:36:24 +01:00
Viktor Klang
24a6a66ca0 Making sure that if the second Future fails, the returned future also fails 2012-01-17 15:31:59 +01:00
Viktor Klang
bfd11ad8c5 Removing nodename 2012-01-17 15:25:26 +01:00
Patrik Nordwall
387ffe1bce Limit of default-dispatcher pool size, since we run tests in parallel 2012-01-17 15:23:13 +01:00
Patrik Nordwall
21ec737b4c Should have been in previous merge commit 2012-01-17 14:58:31 +01:00
Patrik Nordwall
74382c156a Merge branch 'master' into wip-1606-remote-routers-patriknw
Conflicts:
	akka-remote/src/main/scala/akka/routing/RemoteRouters.scala
2012-01-17 14:55:10 +01:00
Viktor Klang
5006f96348 Moving the creation fo the Create() message to ActorCell 2012-01-17 14:51:21 +01:00
Patrik Nordwall
d6708184c6 Minor improvements based on feedback. See #1606 2012-01-17 14:48:46 +01:00
Viktor Klang
e4b6cfbfbe Revering moving of the Create() message, leave it there ;) 2012-01-17 14:39:02 +01:00
Patrik Nordwall
f01b9486aa Removed create-as and corresponding ActorRecipe. See #1511 2012-01-17 14:27:51 +01:00
Viktor Klang
fc0eb1de27 Changing the semantics of Future.or 2012-01-17 14:23:02 +01:00
Roland
e81791cbb6 fix dormant bug in Mailbox’s error logging
- actor.actor could potentially be null after a failed restart attempt
- fix one case of baroqueness in FaultHandling.scala
2012-01-17 14:07:20 +01:00
Viktor Klang
861d51025b Merge branch 'master' into wip-1650-Future-or-√ 2012-01-17 13:49:24 +01:00
Viktor Klang
e28f284c3c Removing pointledd use of CORBA from the UUID lib 2012-01-17 11:43:40 +01:00
Viktor Klang
5106fd6d4d Removing ClusterName 2012-01-17 11:40:26 +01:00
Viktor Klang
dadb25d32b Added an extra test 2012-01-17 09:35:54 +01:00
Patrik Nordwall
ac886a8660 Moved DefaultScheduler to Scheduler.scala file 2012-01-17 09:34:34 +01:00
Patrik Nordwall
e7a0247c0d Handle remote routers transparently. See #1606
* RemoteRouterConfig wrapper with RemoteRouteeProvider instead if fixed remote routers.
* Had to refactor and introduce RouteeProvider for different implementations of how to create routees.
* Works with Resizer also.
* Added some tests.
2012-01-17 09:11:45 +01:00
Viktor Klang
7b60976227 Fixing glitch discovered by Derek 2012-01-17 08:59:57 +01:00
Patrik Nordwall
0cf5c22eac Fixed target.nodes config property. See #1599 2012-01-17 08:48:41 +01:00
Derek Williams
6b8e8ea1e8 add retry method in IOActorSpecs until I find a better home 2012-01-16 23:38:36 -07:00
Viktor Klang
0b9c8bd248 Removing legacy configuration message resend shenanigans 2012-01-17 01:41:28 +01:00
Viktor Klang
98c4febac8 Clarified Future.or semantics 2012-01-17 01:29:24 +01:00
Viktor Klang
1f4954755d Fixing ticket #1650 2012-01-17 01:18:57 +01:00
Viktor Klang
1756b6aa54 FIXMEs, young grasshopper 2012-01-16 20:18:08 +01:00
Viktor Klang
13a95ce15b Dealt with a FIXME and removing Lispiness 2012-01-16 19:45:37 +01:00
Viktor Klang
84732225f6 Implementing support for serialization manifests in TypedActor calls that are serialized 2012-01-16 16:49:55 +01:00
Viktor Klang
0ed05bb3ea Merging in TypedProps into master 2012-01-16 16:08:03 +01:00
Viktor Klang
f4b9733c03 Merge branch 'master' into wip-1626-1627-typed-actors-√ 2012-01-16 15:48:39 +01:00
patriknw
1676cb7279 Merge pull request #214 from jboner/wip-1641-cancel-patriknw
Fixed issue with cancel of scheduled recurring tasks. See #1641
2012-01-16 06:41:26 -08:00
Viktor Klang
e2e23e827a More review cleanup and extra comments 2012-01-16 15:17:06 +01:00
Viktor Klang
3acdf53f0b After review 2012-01-16 15:07:53 +01:00
Patrik Nordwall
9ec2bbe676 Fixed invalid dependencies in akka-remote, issue with log4j 1.2.15. See #1648 2012-01-16 14:32:14 +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
Patrik Nordwall
a26876f5c6 Improvements from feedback. See #1641 2012-01-16 10:15:55 +01:00
Derek Williams
c0a3441442 Echo client may send requests out of order on errors, okay for this example but will try to find way of maintaining order 2012-01-14 10:39:55 -07:00
Derek Williams
64e0b9eb52 Initial attempt to allow handling errors in iteratees 2012-01-14 10:31:06 -07:00
viktorklang
fcbbc892cb typo 2012-01-13 20:55:12 +01:00
Patrik Nordwall
6dc0880e52 Fixed issue with cancel of scheduled recurring tasks. See #1641
* The problem was that the Timeout in the returned Cancellable was only for the scheduled initial task,
then task is scheduled for each tick with new Timeout, which is was never used
* Solved it with another Cancellable implementation that always delegates to the valid Timeout instance
* Added tests for it
2012-01-13 16:43:40 +01: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