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
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
Patrik Nordwall
a9217cec7b
Merge branch 'master' into wip-1141-config-patriknw
...
Conflicts:
akka-actor/src/main/scala/akka/actor/ActorSystem.scala
2011-11-19 09:18:57 +01:00
Viktor Klang
d588e5abc2
Merge branch 'master' of github.com:jboner/akka
2011-11-18 17:03:52 +01:00
Viktor Klang
9ae3d7feba
Fixing (yes, I know, I've said this a biiiiiillion times) the BalancingDispatcher, removing some wasteful volatile reads in the hot path
2011-11-18 17:03:35 +01:00
Patrik Nordwall
7999c4c195
Docs: Changed organization id from se.scalablesolutions.akka to com.typesafe.akka
2011-11-18 13:21:23 +01:00
Patrik Nordwall
d41c79c2ee
Docs: Add info about timestamped snapshot versions to docs. Fixes #1164
2011-11-18 13:21:23 +01:00
Viktor Klang
069c68f6d4
Merge branch 'master' of github.com:jboner/akka
2011-11-18 12:58:01 +01:00
Viktor Klang
8f944f54f1
Removing unused utilities
2011-11-18 12:52:58 +01:00
Viktor Klang
9476c695e6
Switching to Switch for the shutdown flag for the bubble walker, and implementing support for stopping with an error
2011-11-18 12:52:50 +01:00
Roland
6a8e516b6c
change source tag in log events from AnyRef to String
...
- ensure that no “complex” things are attached to a LogEvent (think
serialization)
- ensure no escaping the “this” reference via LoggingBus during
constructors (e.g. ActorSystem)
- change it so that
+ Actor/ActorRef are represented by their address
+ Class[_] by simpleName
+ String by itself
- this means that people need to think a little more while deciding how
“this” should look like in logging (which I think is a good thing)
2011-11-18 12:24:04 +01:00
Patrik Nordwall
3d6c0fbae6
Removed unecessary import
2011-11-18 11:34:52 +01:00
Patrik Nordwall
c6b157dd3a
Merge branch 'master' into wip-1141-config-patriknw
2011-11-18 11:29:56 +01:00
Patrik Nordwall
50faf18bb8
Changed to parseString instead of parseReader
2011-11-18 11:17:08 +01:00
Viktor Klang
d63c511401
#1351 - Making sure that the remoting is shut down when the ActorSystem is shut down
2011-11-18 11:16:23 +01:00
Patrik Nordwall
4b8f11ea92
Replaced akka.config with new configuration utility. See #1141 and see #1342
...
* All default values removed from code and loaded from akka-actor-reference.conf, located in src/main/resources (included in jar)
* Default test configuration included in AkkaSpec instead of using akka.test.conf, avoids problems when running test (in IDE) and forgetting to use -Dakka.mode=test.
* System.properties used first, if availble
* Next step will be to split akka-actor-reference.conf in separate -reference for each module
2011-11-18 10:05:40 +01:00
Viktor Klang
80d766b07b
Adding DispatcherPrerequisites to hold the common dependencies that a dispatcher needs to be created
2011-11-17 16:09:18 +01:00
Roland
62032cb1ff
merge system-cleanup into master
2011-11-17 14:38:49 +01:00
Viktor Klang
0fbe1d3e10
Adding warning message for non-eviction so that people can see when there's a bug
2011-11-17 14:21:53 +01:00
Viktor Klang
9f36aeff7f
Switching to the same system message emptying strategy as for the normal Dispatcher, on the BalancingDispatcher
2011-11-17 14:21:28 +01:00
Roland
4470cf0d25
incorporate Viktor’s review comments
2011-11-17 13:29:59 +01:00
Roland
d381b72061
rename app: ActorSystem to system everywhere
2011-11-17 12:36:35 +01:00
Roland
c31695bef4
rename AkkaConfig to Settings
2011-11-17 12:11:55 +01:00
Roland
2b6d9ca6bd
rename ActorSystem.root to rootPath
2011-11-17 10:54:17 +01:00
Roland
5cc228e7b4
mark timing tags so they can be omitted on Jenkins
2011-11-16 19:34:37 +01:00
Roland
d4cfdff80f
move japi subpackages into their own directories from reduced Eclipse disturbances
2011-11-16 19:11:52 +01:00
Roland
648661c548
clean up initialization of ActorSystem, fixes #1050
...
- create ActorSystemImpl trait to make ActorSystem fully abstract
- add Java API for constructing (ActorSystem.create(...))
- only go through factory methods because .start() has become necessary
- rename all user-facing occurrences of “app” to “system” (Actor trait
and TestKit/AkkaSpec)
- pass ActorSystemImpl to ActorRefs upon creation, which means that
actorOf() and friends need such an argument, which must be provided to
the ActorRefProvider by the ActorRefFactory implementation
2011-11-16 17:18:36 +01:00
Viktor Klang
1bf5abb29a
Removing UnsupportedActorRef and replacing its use with MinimalActorRef
2011-11-16 17:06:03 +01:00
Viktor Klang
18bfa26272
Renaming startsMonitoring/stopsMonitoring to startsWatching and stopsWatching
2011-11-16 16:46:16 +01:00
Viktor Klang
af3600b175
Prolonging the timeout for the throughput performance spec
2011-11-16 16:23:19 +01:00
Viktor Klang
1613ff5111
Making sure that dispatcher scheduling for shutdown is checked even if unregister throws up
2011-11-16 16:19:56 +01:00
Viktor Klang
39b374ba22
Switching to a Java baseclass for the MessageDispatcher so we can use primitive fields and Atmoc field updaters for cache locality
2011-11-16 16:09:58 +01:00
Viktor Klang
13bfee782f
Removing Un(der)used locking utils (locking is evil) and removing the last locks from the MessageDispatcher
2011-11-16 15:54:14 +01:00
viktorklang
5593e860bc
Merge pull request #94 from kjellwinblad/master
...
Ticket #1282 Test for the new Index class
2011-11-15 08:00:22 -08:00
Kjell Winblad
d07d8e84b8
Merge remote branch 'upstream/master'
2011-11-15 16:48:55 +01:00
viktorklang
37074051f8
Merge pull request #110 from jboner/wip-896-durable-mailboxes-patriknw
...
Enabled durable mailboxes and implemented them with mailbox types.
2011-11-15 06:52:27 -08:00
Patrik Nordwall
a6e75fb702
Added cleanUp callback in Mailbox, dused in ZooKeeper. Some minor cleanup
2011-11-15 14:39:43 +01:00
Patrik Nordwall
cf675d29ce
Merge branch 'master' into wip-896-durable-mailboxes-patriknw
2011-11-15 14:22:32 +01:00
Kjell Winblad
127358860f
Merge remote branch 'upstream/master'
2011-11-15 12:06:37 +01:00
Viktor Klang
727c7de58d
Removing bounded executors since they have probably never been used, also, removing possibility to specify own RejectedExecutionHandler since Akka needs to know what to do there anyway. Implementing a sane version of CallerRuns
2011-11-15 10:32:00 +01:00
Roland
6d85572ecc
- expose ActorRefProvider.AkkaConfig
...
- relax FSMTimingSpec a bit
2011-11-14 20:30:54 +01:00
Viktor Klang
13647b2b61
Doh
2011-11-14 19:52:35 +01:00
Viktor Klang
a7e9ff4fba
Switching to AbortPolicy by default
2011-11-14 19:48:06 +01:00
Viktor Klang
afe1e37648
BUSTED
...
!
2011-11-14 19:25:24 +01:00
Viktor Klang
66dd0123bc
Temporary fix for the throughput benchmark
2011-11-14 19:19:44 +01:00
Roland
30df7d7bc9
remove app argument from TypedActor
2011-11-14 18:32:55 +01:00