Commit graph

7922 commits

Author SHA1 Message Date
Jonas Bonér
d2ef8b99bc Fixed problems with remote configuration.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-25 15:42:25 +01:00
Jonas Bonér
8237271310 Merge branch 'master' of github.com:jboner/akka
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-25 12:10:41 +01:00
Jonas Bonér
993947335b Added configuration for seed nodes in RemoteExtension and Gossiper. Also cleaned up reference config from old cluster stuff.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-25 12:02:25 +01:00
viktorklang
e33b9569f2 Merge pull request #123 from jboner/wip-extensions
Reinterpretation of Extensions
2011-11-25 02:26:00 -08:00
Jonas Bonér
3640c09464 Removed obsolete sample modules and cleaned up build file.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-25 11:01:03 +01:00
Viktor Klang
603a8ed034 Creating ExtensionId, AbstractExtensionId, ExtensionIdProvider and Extension 2011-11-25 10:45:22 +01:00
Jonas Bonér
0a1740cd6d Merge branch 'master' of github.com:jboner/akka
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-24 21:05:41 +01:00
Viktor Klang
bf20f3fa44 Reinterpretation of Extensions 2011-11-24 18:53:18 +01:00
Jonas Bonér
ef6c8370cd Added BroadcastRouter which broadcasts all messages to all the connections it manages, also added tests.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-24 16:35:37 +01:00
viktorklang
c0d3c523e2 Merge pull request #122 from jboner/hwt-nano-henrikengstrom
Using nanoTime instead of currentTimeMillis in HWT
2011-11-24 06:08:14 -08:00
patriknw
f7bba9efc5 Merge pull request #121 from jboner/wip-1361-modularize-config-reference-patriknw
Modularize configuration. See #1361

* Split config reference to one for each module/extension.
* Adjusted signature of registerExtension to avoid race of extension init
* Moved Duration.dilated to testkit
* TestKitExtension
* RemoteExtension
* SerializationExtension
* Durable mailboxes extensions
* Fixed broken serialization bindings and added test
* Updated configuration documentation
* System properties akka.remote.hostname akka.remote.port replaced with akka.remote.server.hostname and akka.remote.server.port
* Adjustments of ActorSystem initialization. Still don't like the two-phase constructor/init flow. Very fragile for changes.
2011-11-24 05:59:03 -08:00
Patrik Nordwall
c53d5e16e5 Merge branch 'master' into wip-1361-modularize-config-reference-patriknw
Conflicts:
	akka-actor/src/main/resources/akka-actor-reference.conf
	akka-actor/src/main/scala/akka/actor/ActorRefProvider.scala
	akka-actor/src/main/scala/akka/actor/ActorSystem.scala
	akka-remote/src/main/scala/akka/remote/Gossiper.scala
	akka-remote/src/main/scala/akka/remote/netty/NettyRemoteSupport.scala
2011-11-24 14:56:19 +01:00
Henrik Engstrom
8b6afa9937 Removed unnecessary method and utilize System.nanoTime directly instead. See #1381 2011-11-24 14:36:13 +01:00
Patrik Nordwall
c9187e21f6 Minor fixes from review 2011-11-24 14:34:42 +01:00
Henrik Engstrom
310b2736c0 Changed the HWT implementation to use System.nanoTime internally instead of System.currentTimeMillis. Fixes #1381 2011-11-24 14:30:03 +01:00
Viktor Klang
3ab264238b Merge branch 'master' of github.com:jboner/akka 2011-11-24 10:38:42 +01:00
Viktor Klang
4a64428e48 Moving the untrustedMode setting into the marshalling ops 2011-11-24 10:38:36 +01:00
Henrik Engstrom
35d4d0456d Decreased the time to wait in SchedulerSpec to make tests run a wee bit faster, see #1291 2011-11-24 09:54:08 +01:00
Henrik Engstrom
463c6921d6 Fixed failing test, see #1291 2011-11-24 09:23:28 +01:00
Henrik Engstrom
a247b347c8 Merge pull request #120 from jboner/hwt-tests-henrikengstrom
Added test of HWT and parameterized HWT constructor arguments (used in A...
2011-11-23 23:36:57 -08:00
Henrik Engstrom
4a2a5123bf Merge branch 'master' into hwt-tests-henrikengstrom
Conflicts:
	akka-actor/src/main/scala/akka/actor/ActorCell.scala
2011-11-24 08:36:01 +01:00
Patrik Nordwall
3fd629e92d PORT_FIELD_NUMBER back to origin 2011-11-24 08:23:27 +01:00
Patrik Nordwall
179399296e Modularize configuration. See #1361
* Split config reference to one for each module/extension.
* Adjusted signature of registerExtension to avoid race of extension init
* Moved Duration.dilated to testkit
* TestKitExtension
* RemoteExtension
* SerializationExtension
* Durable mailboxes extensions
* Fixed broken serialization bindings and added test
* Updated configuration documentation
* System properties akka.remote.hostname akka.remote.port replaced with akka.remote.server.hostname and akka.remote.server.port
* Adjustments of ActorSystem initialization. Still don't like the two-phase constructor/init flow. Very fragile for changes.

Review fixes. SerializationExtension
2011-11-23 20:31:58 +01:00
Viktor Klang
abcaf01525 Removing legacy comment 2011-11-23 19:19:08 +01:00
Viktor Klang
c56341b3a6 Fixing FIXME to rename isShutdown to isTerminated 2011-11-23 19:03:56 +01:00
Henrik Engstrom
ddb7b578e2 Fixed some typos, see #1291 2011-11-23 16:52:05 +01:00
Henrik Engstrom
e2ad1088b0 Updated the scheduler implementation after feedback; changed Duration(x, timeunit) to more fluent 'x timeunit' and added ScalaDoc 2011-11-23 15:16:46 +01:00
Viktor Klang
7d9a124b64 Removing @inline from Actor.sender since it cannot safely be inlined anyway. Also, changing the ordering of the checks for receiveTimeout_= so it passed -optimize compilation without whining 2011-11-23 12:28:20 +01:00
Henrik Engstrom
7ca5a4161b Introduced Duration instead of explicit value + time unit in HWT, Scheduler and users of the schedule functionality. See #1291 2011-11-23 11:07:16 +01:00
Viktor Klang
36e85e9f23 #1372 - Making sure that ActorCell is 64bytes so it fits exactly into one cache line 2011-11-23 02:00:29 +01:00
Viktor Klang
3be5c05b76 Removing a wasteful field in ActorCell, preparing to get to 64bytes (cache line glove-fit 2011-11-23 01:18:29 +01:00
Viktor Klang
4e6361acb7 Removing commented out code 2011-11-22 22:28:37 +01:00
Viktor Klang
229399db72 Removing obsolete imports from ReflectiveAccess 2011-11-22 16:30:01 +01:00
Henrik Engstrom
ac03696d88 Added test of HWT and parameterized HWT constructor arguments (used in ActorSystem), see #1291 2011-11-22 15:26:21 +01:00
Viktor Klang
6d2b090598 Removing ActorContext.hasMessages 2011-11-22 14:09:02 +01:00
Viktor Klang
8516dbbc02 Adding a FIXME so we make sure to get ActorCell down to 64bytes 2011-11-22 12:11:37 +01:00
Viktor Klang
5af3c72c73 Merge branch 'master' of github.com:jboner/akka 2011-11-22 10:41:49 +01:00
Viktor Klang
ce6dd05ab9 Removing 1 AtomicLong from all ActorCells 2011-11-22 10:41:04 +01:00
Patrik Nordwall
153d69d682 Removed unecessary code in slf4j logger, since logSource is already resolved to String 2011-11-21 17:53:31 +01:00
Viktor Klang
4fdf698611 Switching to sun.misc.Unsafe as an experiment, easily revertable 2011-11-21 17:49:21 +01:00
viktorklang
8d356ba4a5 Merge pull request #118 from jboner/wip-1363-remove-default-time-unit-patriknw
Remove default time unit in config. All durations explicit. See #1363
2011-11-21 07:37:41 -08:00
Roland
263e2d495d Merge branch 'extensions' into master 2011-11-21 15:58:01 +01:00
Patrik Nordwall
e5f8a41cb8 Remove default time unit in config. All durations explicit. See #1363
* Also changed in dispatcher to use explicit Duration instead of Int/Long
2011-11-21 15:18:52 +01:00
patriknw
1543594c78 Merge pull request #116 from jboner/wip-1141-config-patriknw
Replaced akka.config with new configuration utility. See #1141 and see #1342
2011-11-21 00:56:57 -08:00
Roland
61f303a35b add ActorSystem.hasExtension and throw IAE from .extension() 2011-11-21 09:47:09 +01:00
Roland
4102b5736e add some more docs 2011-11-21 09:21:34 +01:00
Patrik Nordwall
7d928a698f Add more compherensive tests for DeployerSpec. Fixes #1052
* Test for various combinations
* Restructured Deployer.lookupInConfig
* Fixed strangeness in NrOfInstances
* Throw target exception when InvocationTargetException in ActorSystem provider init
* Removed ConfigImplicits
2011-11-19 19:55:44 +01:00
Patrik Nordwall
74b5af150d Adjustments based on Viktor's review comments. 2011-11-19 19:46:34 +01:00
Patrik Nordwall
7f46583c01 Adjustments based on review comments. See #1141 2011-11-19 09:43:13 +01:00
Patrik Nordwall
b8be8f3869 Latest config lib 2011-11-19 09:23:01 +01:00