Commit graph

615 commits

Author SHA1 Message Date
Viktor Klang
2dffb2b659 Removing wasteful DNS resolve 2011-12-27 20:17:48 +01:00
viktorklang
f2e1b7d4da Merge pull request #188 from jboner/wip-1564-default-nodename-√
Wip 1564 default nodename √
2011-12-26 14:37:29 -08:00
Viktor Klang
a0885f1362 Switching to a default value for the nodename 2011-12-26 00:22:27 +01:00
Viktor Klang
2a45291b7d Outputting the node name on startuo 2011-12-25 17:51:07 +01:00
Viktor Klang
fa031bce99 Defaulting the nodename to 'default' 2011-12-25 17:45:55 +01:00
Eugene Vigdorchik
0c4c84d1dc Used ZkClient for distributed testing. 2011-12-22 17:34:20 +04:00
Eugene Vigdorchik
440e5a5f69 Found AkkaRemoteSpec.testConf singleton to use. 2011-12-22 16:35:23 +04:00
Eugene Vigdorchik
a7fc87a9d1 Merge branch 'master' of github.com:jboner/akka into wip-distributed-tests 2011-12-22 12:37:44 +04:00
Eugene Vigdorchik
02b305837e Minor cleanup. 2011-12-22 12:36:52 +04:00
patriknw
7b133abf02 Merge pull request #182 from jboner/wip-1458-dispatcher-id-patriknw
Dispatcher id refactoring. See #1458
2011-12-21 14:49:27 -08:00
Patrik Nordwall
6eb7e1d438 Rename dispatcherFactory to dispatchers in ActorSystem. See #1458 2011-12-21 19:07:54 +01:00
Viktor Klang
daf279f4ef Improving logging for remote errors 2011-12-21 16:12:08 +01:00
Eugene Vigdorchik
4b31ac1c03 Minor corrections according to Viktor's review. 2011-12-21 19:06:51 +04:00
Eugene Vigdorchik
80858620b2 Done removing "localhost" from test configs. 2011-12-21 17:30:08 +04:00
Patrik Nordwall
f772b0183e Initial commit of dispatcher key refactoring, for review. See #1458
* Changed signatures and constructor of MessageDispatcherConfigurator
* Changed Dispatchers.lookup, keep configurators instead of dispatchers
* Removed most of the Dispatchers.newX methods, newDispatcher is still there because of priority mailbox
* How should we make it easy to configure priority mailbox?
* Changed tons tests
* Documentation and ScalaDoc is not updated yet
* Some tests in ActorModelSpec are temporary ignored due to failure
2011-12-21 13:27:50 +01:00
Eugene Vigdorchik
d9e0b9f9e8 Added zk client for distributed barriers + started to simplify test configuration. 2011-12-21 16:07:18 +04:00
Henrik Engstrom
92bb4c5afb Merge pull request #180 from jboner/1529-hardcoded-value-he
1529 removed hardcoded timeout value from SGFCR
2011-12-21 03:20:57 -08:00
Henrik Engstrom
dac0beb01b Updates based on feedback - use of abstract member variables specific to the router type. See #1529 2011-12-21 10:03:26 +01:00
Henrik Engstrom
0dc161c800 Initial take on removing hardcoded value from SGFCR. See #1529 2011-12-20 19:57:42 +01:00
Jonas Bonér
1b3974cfb7 Merge branch 'master' of github.com:jboner/akka 2011-12-20 19:13:17 +01:00
Jonas Bonér
9801ec641d Removed old unused config files in multi-jvm tests.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-20 19:12:54 +01:00
viktorklang
73f2ae4a69 Merge pull request #173 from jboner/wip-improve-remote-logging-√
Adding general badassery
2011-12-20 01:51:25 -08:00
Viktor Klang
84090ef4e7 Bootstrapping the ContextClassLoader of the calling thread to init Remote to be the classloader for the remoting 2011-12-19 15:21:40 +01:00
Viktor Klang
47c1be6b42 Adding FIXME comments to unprotected casts to ActorSystemImpl (4 places) 2011-12-19 14:04:32 +01:00
Viktor Klang
0f3a720f3e Adding general badassery 2011-12-19 13:35:10 +01:00
Viktor Klang
42e8a4559e #1496 - Rename 'targets' to 'routees' 2011-12-17 16:33:29 +01:00
Viktor Klang
c2597ed33d Adding debug messages for all remote exceptions, to ease debugging of remoting 2011-12-17 15:54:09 +01:00
Jonas Bonér
ce296b0481 Misc additions to, and rewrites and formatting of, the documentation.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-15 14:26:17 +01:00
Jonas Bonér
b0e630a239 Merge remote-tracking branch 'origin/simplified-multi-jvm-test'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-15 11:43:26 +01:00
Jonas Bonér
f59b4c642f Merge branch 'master' of github.com:jboner/akka 2011-12-15 08:48:01 +01:00
Jonas Bonér
a18206b81a Merge branch 'wip-remove-timeout-jboner' into master
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-14 22:46:43 +01:00
Peter Vlugter
55594a241b Merge with master 2011-12-15 08:56:48 +13:00
patriknw
d9e9efe2d7 Merge pull request #156 from jboner/wip-1504-config-comments-patriknw
Rewrite config comments
2011-12-14 08:47:19 -08:00
Patrik Nordwall
b243374ebd Review comments. Config lib v0.2.0. 2011-12-14 17:45:42 +01:00
Viktor Klang
e959493e12 Enormous merge with master which probably led to the indirect unfortunate deaths of several kittens 2011-12-14 17:36:39 +01:00
Jonas Bonér
04cd2adee9 Moved Timeout classes from akka.actor._ to akka.util._.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-14 17:34:56 +01:00
Patrik Nordwall
c1826abee1 Merge branch 'master' into wip-1504-config-comments-patriknw
Conflicts:
	akka-actor/src/main/resources/reference.conf
2011-12-14 17:02:29 +01:00
Patrik Nordwall
8ffa85c590 DOC: Rewrite config comments. See #1505 2011-12-14 15:12:40 +01:00
Peter Vlugter
ba9ed982ca Re-enable akka-kernel and add small sample
Created a new simple version of the microkernel for
inclusion in the akka download and to be able to start
working on sample applications
2011-12-14 16:42:47 +13:00
Roland
5eedbdd69f rename ActorSystem.stop() to .shutdown() 2011-12-14 01:06:20 +01:00
Roland
cb85778b12 remove ActorRef.stop()
- replace ActorRef.stop() by ActorRefFactory.stop(child) everywhere
- ActorCell “optimizes” this to remove the child from its childrenRefs
  in order to allow immediate recycling of the name
- the lost soul must have a place, for which the Locker has been
  created, where Davy Jones will happily rebind the soul to his ship
  (i.e. set “parent” to the locker to avoid mem leak) and periodically
  revisit it (.stop(), in case of that being lost in comm failure,
  similar .watch() to re-check liveness)
2011-12-14 00:10:53 +01:00
Roland
c16fcebc21 fix docs generation 2011-12-13 17:53:59 +01:00
Roland
92e7693203 Merge remote-tracking branch 'origin/master' into wip-remote-supervision-rk 2011-12-13 16:59:43 +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
Roland
4bd9f6ae1a rename Props.withRouting to .withRouter 2011-12-13 11:32:24 +01:00
Roland
db7dd9450c re-enable the missing three multi-jvm tests
- mostly a matter of putting correct target.nodes URIs into configs and
  adding withRouting to Props
- ScatterGather test was wrong to assume equal distribution of replies
  from connections; it is random and only the sum should add up
2011-12-13 10:58:09 +01:00
Viktor Klang
bf01045779 Merged with current master 2011-12-13 10:18:15 +01:00
Roland
d1a26a9e28 implement remote routers
- split out actual routing functionality into *Like traits to be
  reusable
- make RemoteRouterConfig which only differs in how remote placement is
  initiated
- teach RemoteDeployer how to convert local RouterConfig in case config
  key “target.nodes” is set
- IT WORKS! All tests GREEN
- oh, yeah, had to make ActorPath serializable ...
2011-12-13 01:29:05 +01:00
Roland
0a7e5fe296 wrap up local routing
- pull some more generic stuff out of the individual routers, add
  factories which take only target lists
- add router parsing to Deployer, removing everything which is not
  strictly related to local scope, which left only few things, so move
  them to Deployer.scala and delete DeploymentConfig
- fix ConfiguredLocalRoutingSpec to use the new configuration mechanism
  and verify that configuration overrides code
- fix DeployerSpec by using (mostly) correct lookup paths and removing
  everything which was not local
- change config file layout, removing everything which is not local from
  akka-actor/.../reference.conf, putting the remote stuff into the
  akka-remote/.../reference.conf (unused as of yet); adapt comments
  according to changed functionality
2011-12-12 23:34:52 +01:00
Viktor Klang
b32cbbc764 Renaming Block to Await, renaming sync to result, renaming on to ready, Await.ready and Await.result looks and reads well 2011-12-12 22:50:08 +01:00