Jonas Bonér
3ea6f70934
Merge branch 'master' of github.com:jboner/akka
2011-09-09 10:53:15 +02:00
Jonas Bonér
3370d07ce9
Added tests for the CircuitBreaker
2011-09-09 10:53:05 +02:00
Jonas Bonér
5b4d48db1e
Added NOTE to CircuitBreaker about its status and non-general purpose
2011-09-09 10:52:27 +02:00
Peter Vlugter
92ffd2a9c9
Fix the scaladoc generation. See #1017
2011-09-09 08:49:45 +02:00
Jonas Bonér
2dea305136
Merge branch 'master' into wip-remote-connection-failover
2011-09-08 19:50:33 +02:00
Jonas Bonér
d7ce594a7c
Rewrote CircuitBreaker internal state management to use optimistic lock-less concurrency, and added possibility to register callbacks on state changes.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-08 19:49:49 +02:00
Jonas Bonér
1663bf4ac1
Rewrote and abstracted remote failure detection and added BannagePeriodFailureDetector.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-08 19:48:11 +02:00
Jonas Bonér
47bfafe81e
Moved FailureDetector trait and utility companion object to its own file.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-08 19:46:05 +02:00
Jonas Bonér
72e0c60909
Reformatting.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-08 19:45:16 +02:00
Peter Vlugter
0430e284a6
Get the (non-multi-jvm) cluster tests working again
...
- avoid initialising the cluster in TransactionLog
- allow TransactionLog to be started and shutdown multiple times
- correct the startup and shutdown in the transaction log tests
2011-09-08 17:19:27 +02:00
Jonas Bonér
603a0624bc
Added old 'clustering.rst' to disabled documents. To be edited and included into the documentation.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-08 16:03:59 +02:00
Viktor Klang
d8390a61f6
#1180 - moving the Java API to Futures and Scala API to Future
2011-09-08 15:54:06 +02:00
Viktor Klang
24fb967988
Merge branch 'master' of github.com:jboner/akka
2011-09-05 17:41:46 +02:00
Viktor Klang
93786a31fa
Removing preStart invocation for each restart
2011-09-05 17:29:30 +02:00
Roland
950f311648
fix compilation warnings (failed @Inline, erased types)
...
- make no-@Inline variant of DefaultPromise.timeLeft()
- remove type parameters from matches where not needed
- switch DinigHackersOnFsm to self.channel
2011-09-05 09:29:51 +02:00
Roland
34fdac2fb7
remove akka.util.Helpers.flatten
...
- it was not used anywhere
- it was generating true compiler warnings
- it is hard to fix wrt. generic type (was Array[Nothing] always)
2011-09-05 09:29:51 +02:00
Roland
75427e4d9d
silence two remaining expected exceptions in akka-actor-tests
2011-09-05 09:29:51 +02:00
Viktor Klang
b6709175b6
Removing wasteful level-field from Event
2011-09-04 15:36:18 +02:00
Roland Kuhn
06f28cbb09
Merge pull request #87 from jrudolph/patch-1
...
Just a little documentation fix where a bullet wasn't displayed correctly
Merged by rkuhn: valid one-character fix should not be a problem
2011-09-03 02:32:41 -07:00
Roland
396207f4fb
fixes #976 : move tests to directories matching their package declaration
...
- fixed package declaration instead in Ticket001Spec
- moved ClusterSpec and Ticket669Spec also into akka.actor
2011-09-02 14:55:14 +02:00
Roland
0626f53925
Merge branch 'master' of github.com:jboner/akka
2011-09-02 08:51:55 +02:00
Roland
7a834c17c3
improve wording of doc for Future.await(atMost), fixes #1158
2011-09-02 08:47:28 +02:00
Jonas Bonér
bf7ef7234a
Refactored and renamed API for FailureDetector.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-01 14:58:18 +02:00
Viktor Klang
e26077ad86
Merge branch 'master' of github.com:jboner/akka
2011-09-01 11:58:15 +02:00
Viktor Klang
6a68a70589
Removing localActorOf
2011-09-01 11:58:08 +02:00
Jonas Bonér
089dd26870
Removed the ClusterProtocol.proto file
2011-08-31 16:16:20 +02:00
Jonas Bonér
4fe4218855
Merged the ClusterProtocol with the RemoteProtocol.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-31 16:00:46 +02:00
Jonas Bonér
7c1c777872
Merge branch 'master' of github.com:jboner/akka
2011-08-31 15:07:57 +02:00
Jonas Bonér
0a63350452
Added configuration for failure detection; both via akka.conf and via Deploy(..).
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-31 15:07:18 +02:00
Viktor Klang
29091130cf
Switching to geronimos 2.0 impl instead of glassfish since it's in the sbt default maven repo
2011-08-31 14:16:17 +02:00
Jonas Bonér
b362211b6f
Removed old duplicated RemoteProtocol.java.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-31 13:27:40 +02:00
Jonas Bonér
8a55fc93d4
Fixed typos in Cluster API.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-31 11:59:44 +02:00
Jonas Bonér
c8d738f534
Merge branch 'master' of github.com:jboner/akka
2011-08-30 18:43:06 +02:00
Jonas Bonér
e17a376236
Refactored state management in routing fail over.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-30 18:42:35 +02:00
Jonas Bonér
eb2cf56467
Fixed toString and hashCode in config element. Fixing DeploymentSpec.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-30 18:41:47 +02:00
Jonas Bonér
796137c933
Disabled ClusterActorRefCleanupMultiJvmSpec until fail over impl completed.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-30 18:39:56 +02:00
Jonas Bonér
5230255f8c
Disabled the replication tests until fixed.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-30 18:38:55 +02:00
Jonas Bonér
0881139418
Added recompiled versions of Protobuf classes, after change of package name and upgrade to Protobuf 2.4.1.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-30 17:19:27 +02:00
Jonas Bonér
59fba76844
Disabled the replication tests until they are fixed.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-30 17:16:39 +02:00
Viktor Klang
7bc5b2c39c
Fixing race-condition in ActorRegistry.actorFor(address)
2011-08-30 16:31:07 +02:00
Viktor Klang
e2856c0460
Removing wasteful locking in BalancingDispatcher
2011-08-30 16:30:41 +02:00
Jonas Bonér
6010e6e915
Merge branch 'master' of github.com:jboner/akka
2011-08-30 15:53:47 +02:00
Jonas Bonér
49763ec006
Changed 'connectionSize' to 'nrOfConnections'.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-30 15:53:38 +02:00
Jonas Bonér
311cc1e1d5
Added toString to ReplicationFactor config element.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-30 15:52:59 +02:00
Viktor Klang
548ba08cb5
#1145 - Changing private[akka] to protected[akka] in MessageDispatcher so that inheriting classes can access those methods
2011-08-30 15:50:52 +02:00
Jonas Bonér
814852bebd
Merge branch 'wip-remote-connection-failover'
2011-08-30 14:32:25 +02:00
Jonas Bonér
e0385e5203
Added failure detection to clustered and local routing.
...
Still not turned on since need deployment config support first.
Also refactored current routing quite a lot.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-30 14:31:59 +02:00
Jonas Bonér
aabb5ff7ad
Fixed wrong package in NetworkFailureSpec.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-30 13:53:36 +02:00
Jonas Bonér
1e75cd36ee
Cleaned up JavaAPI and added copyright header.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-30 10:51:53 +02:00
Patrik Nordwall
11b2e10fa5
Fixed misstake, missed logger(instance), in previous commit
2011-08-29 19:30:12 +02:00