Commit graph

7570 commits

Author SHA1 Message Date
Jonas Bonér
2fcafb205d Changed API in VectorClock and added references in scaladoc.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-19 12:22:22 +02:00
Viktor Klang
3a543ed23d Relized that setAsIdle doesn't need to call acknowledgeStatus since it's already called within the systemInvoke and invoke 2011-10-15 16:52:28 +02:00
Jonas Bonér
36cd652581 Removing Gossiper. Was added prematurely by mistake.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-14 15:23:35 +02:00
Jonas Bonér
44e460bff3 Merge branch 'master' of github.com:jboner/akka 2011-10-14 15:11:43 +02:00
Jonas Bonér
88edec35ef Vector clock implementation, including tests. To be used in Gossip protocol.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-14 15:11:31 +02:00
Viktor Klang
5788ed4281 Renaming link/unlink to startsMonitoring/stopsMonitoring 2011-10-14 15:09:46 +02:00
Viktor Klang
07a7b27386 Cleaning up a section of the ActorPool 2011-10-14 14:28:55 +02:00
Peter Vlugter
d4619b0863 Merge master into tame-globals branch 2011-10-13 18:15:09 +02:00
Peter Vlugter
d9e0088f3c Get remoting working under the remote actor ref provider 2011-10-13 18:08:09 +02:00
Roland
e94860b57b fix remaining issues apart from multi-jvm
- use proper config method in FSMActorSpec
- re-enable LoggingReceiveSpec and fix it
- fix ordering bug in AkkaApplication
- fix stupid bug in Switch.transcend
2011-10-13 16:53:16 +02:00
Viktor Klang
c5ed2a8f21 Making so that if the given address to a LocalActorRef is null or the empty string, it should use the toString of the uuid 2011-10-13 16:36:47 +02:00
Roland
9e8091459b rename application to app everywhere to make it consistent 2011-10-13 14:23:44 +02:00
Viktor Klang
54b70b1017 Removing pointless AtomicReference since register/unregister is already lock protected 2011-10-13 14:18:16 +02:00
Roland
44b94643e5 Merge with Peter's work (i.e. merging master into tame-globals) 2011-10-13 14:17:07 +02:00
Roland
3709a8f828 fix akka-docs compilation, remove duplicate applications from STM tests 2011-10-13 13:53:09 +02:00
Peter Vlugter
317b8bc03b Merge master into tame-globals branch 2011-10-13 13:41:44 +02:00
Roland
85b7accfd4 make EventHandler non-global
- add Logging trait for nicer interface
- add EventHandlerLogging class for offering the nice interface from
  app.log
- add eventHandler instance to app and use that for all internal logging
  (this means that some places (dispatchers, remoting) were infiltrated
  by app just to do logging, but I think we'll need app in there soon
  enough for other reasons)
2011-10-13 13:21:59 +02:00
Jonas Bonér
faa5b08dde Merge branch 'master' of github.com:jboner/akka 2011-10-13 12:09:02 +02:00
Jonas Bonér
19cc618317 Simplified (and improved speed) of PHI calculation in AccrualFailureDetector, according to discussion at https://issues.apache.org/jira/browse/CASSANDRA-2597 .
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-13 12:06:08 +02:00
Patrik Nordwall
963ea0d9b2 Added sampling of latency measurement 2011-10-12 21:26:25 +02:00
Patrik Nordwall
045b9d96c6 Added .cached to .gitignore 2011-10-12 20:39:59 +02:00
Viktor Klang
3567d554fb Adding documentation for the ExecutorService and ThreadPoolConfig DSLs 2011-10-12 18:21:12 +02:00
Viktor Klang
c950679fd8 #1285 - Implementing different internal states for the DefaultPromise 2011-10-12 16:29:33 +02:00
Peter Vlugter
e25ee9f0e2 Fix remote main compile and testkit tests 2011-10-12 15:36:10 +02:00
Roland
e2f9528bc0 fix compilation of akka-docs 2011-10-12 15:25:04 +02:00
Peter Vlugter
fa94198656 Fix remaining tests in akka-actor-tests 2011-10-12 15:15:17 +02:00
Roland
f7c1123dab pre-fix but disable LoggingReceiveSpec: depends on future EventHandler rework 2011-10-12 15:08:06 +02:00
Roland
e5d24b0f17 remove superfluous AkkaApplication.akkaConfig() method (can use AkkaConfig() instead) 2011-10-12 15:07:39 +02:00
Viktor Klang
fe3c22fe23 #1192 - Removing the 'guaranteed delivery'/message resend in NettyRemoteSupport 2011-10-12 14:45:13 +02:00
Viktor Klang
41029e2f83 Removing pointless Index in the Remoting 2011-10-12 14:12:11 +02:00
Viktor Klang
44e1562350 Documenting the EventBus API and removing some superflous/premature traits 2011-10-12 14:07:49 +02:00
Viktor Klang
aa1c636a6b Adding support for giving a Scala function to Index for comparison, and fixed a compilation error in NEttyRemoteSupport 2011-10-12 13:42:54 +02:00
Viktor Klang
dd9555fa4b Merge branch 'master' of github.com:jboner/akka 2011-10-12 11:46:59 +02:00
Viktor Klang
d34e3d69ec Adding a Java API to EventBus and adding tests for the Java configurations 2011-10-12 11:46:49 +02:00
Viktor Klang
5318763e52 Enabling the possibility to specify mapSize and the comparator to use to compare values for Index 2011-10-12 11:46:24 +02:00
Roland
9444ed8beb introduce nicer AkkaSpec constructor and fix FSMActorSpec 2011-10-12 11:35:45 +02:00
Roland
36ec202d94 rename AkkaConfig values to CamelCase 2011-10-12 11:35:45 +02:00
Peter Vlugter
b4a1c95f78 Fix for right arrows in pdf docs 2011-10-12 10:55:35 +02:00
Peter Vlugter
42e1bba164 Fix actor ref spec 2011-10-12 09:57:33 +02:00
Roland
14751f7d29 make everything except tutorial-second compile
someone should look at remoting vs. timeout (i.e. which is sent around),
because I removed that in some places. It might simply be irrelevant
once we remove the Future special-casing.
2011-10-12 09:10:05 +02:00
Jonas Bonér
19b7bc0202 Added an Accrual Failure Detector (plus tests). This is the best general purpose detector and will replace all others.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-11 22:50:21 +02:00
Viktor Klang
d24e27337a Adding another test to verify that multiple messages get published to the same subscriber 2011-10-11 18:19:13 +02:00
Viktor Klang
a07dd97ef1 Switching to have the entire String event being the classification of the Event, just to enfore uniqueness 2011-10-11 18:16:43 +02:00
Viktor Klang
7d7350c5c0 Making sure that all subscribers are generated uniquely so that if they don't, the test fails 2011-10-11 18:12:57 +02:00
Viktor Klang
0a88765022 Adding even more tests to the EventBus fixture 2011-10-11 18:00:29 +02:00
Viktor Klang
54338b5227 Adding EventBus API and changing the signature of DeathWatch to use the new EventBus API, adding some rudimentary test fixtures to EventBus 2011-10-11 17:41:25 +02:00
Roland
93b1ef3703 make akka-actor-tests compile again 2011-10-11 16:05:48 +02:00
Viktor Klang
a6caa4c6fa Merge branch 'master' of github.com:jboner/akka 2011-10-11 14:17:51 +02:00
Viktor Klang
c80690ad08 Changing DeathWatchSpec to hopefully work better on Jenkins 2011-10-11 14:17:32 +02:00
Jonas Bonér
e20866c982 Moved method for creating a RoutedActorRef from 'Routing.actorOf' to 'Actor.actorOf' 2011-10-11 11:55:59 +02:00