Commit graph

7537 commits

Author SHA1 Message Date
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
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
Peter Vlugter
b4a1c95f78 Fix for right arrows in pdf docs 2011-10-12 10:55:35 +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
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
Jonas Bonér
84f4840926 Merge branch 'master' of github.com:jboner/akka 2011-10-11 11:18:57 +02:00
Jonas Bonér
d31057dacf Added support for custom user-defined routers 2011-10-11 11:18:47 +02:00
Viktor Klang
878be071f3 Merge branch 'master' of github.com:jboner/akka 2011-10-10 16:53:23 +02:00
Viktor Klang
0b86e968a6 Increasing the timeouts in the RestartStrategySpec 2011-10-10 16:53:07 +02:00
Jonas Bonér
e779690aa1 Cleaned up internal API 2011-10-10 14:48:16 +02:00
Jonas Bonér
5fc905cc14 Merge branch 'ditch-registry' 2011-10-10 14:05:20 +02:00
Jonas Bonér
3e6decffc0 Removed the ActorRegistry, the different ActorRefProvider implementations now holds an Address->ActorRef registry. Looking up by UUID is gone together with all the other lookup methods such as 'foreach' etc. which do not make sense in a distributed env. 'shutdownAll' is also removed but will be replaced by parental supervision. 2011-10-10 14:02:33 +02:00
Viktor Klang
6eaf04ac14 'fixing' the DeathWatchSpec, since the build machine is slow 2011-10-10 11:17:17 +02:00
Viktor Klang
101ebbda82 Merge branch 'master' of github.com:jboner/akka 2011-10-07 16:24:44 +02:00
Viktor Klang
149205cb9d #1239 - fixing Crypt.hexify entropy 2011-10-07 16:24:32 +02:00
Jonas Bonér
114abe19bd Merge branch 'failure-detector-refactoring' 2011-10-07 16:21:27 +02:00
Jonas Bonér
4ec050c12e Major refactoring of RemoteActorRefProvider, remote Routing and FailureDetector, including lots of fixes and improvements.
- Decoupled FailureDetector from Routing by introducing ConnectionManager which uses FailureDetector instead of it being the same thing.
- Added ConnectionManager
- Added LocalConnectionManager
- Added RemoteConnectionManager
- Improved RoutedProps
- Integrated and added configuration for Scatter Gather router
- Added NoOpFailureDetector
-  Misc API and documentation improvements

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-07 15:42:55 +02:00
Viktor Klang
9c8887348f Fixing the short timeout on PromiseStreamSpec and ignoring the faulty LoggingReceiveSpec (which will be fixed by AkkaApplication 2011-10-07 15:21:01 +02:00
Viktor Klang
9a300f863f Removing a synchronization in UUIDGen.java and replace it with a CCAS 2011-10-07 14:59:24 +02:00
Viktor Klang
4490f0e317 Fixing a bug in supervise, contains <--- HERE BE DRAGONS, switched to exists 2011-10-07 12:42:55 +02:00
Viktor Klang
d94ef529a9 Removing a TODO that was fixed 2011-10-07 12:30:31 +02:00
Viktor Klang
cfe8a32390 Renaming linkedActors to children, and getLinkedActors to getChildren 2011-10-07 12:22:38 +02:00
Viktor Klang
4313a28fbd Adding final declarations on a number of case-classes in Mailbox.scala, and also made constants of methods that were called frequently in the hot path 2011-10-07 11:34:07 +02:00
Viktor Klang
913ef5d232 Implementing support for custom eviction actions in ActorPool as well as providing default Props for workers 2011-10-07 11:20:49 +02:00
Peter Vlugter
972f4b538f Fix publishing and update organization (groupId)
- fix problem with double organization in pom
- fix scaladoc generation by adding class dir to doc classpath in akka-actor
- update organization to com.typesafe.akka
2011-10-06 15:44:15 +02:00
Jonas Bonér
78193d7a62 Added multi-jvm tests for remote actor configured with Random router.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-06 11:42:05 +02:00
Jonas Bonér
e4b66da0b0 Merge branch 'master' of github.com:jboner/akka 2011-10-06 11:34:48 +02:00
Jonas Bonér
182aff14a6 Added multi-jvm test for remote actor configured with RoundRobin router.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-05 18:45:47 +02:00
Jonas Bonér
9e580b09e3 Added multi-jvm test for remote actor configured with Direct router.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-05 18:45:26 +02:00
Jonas Bonér
d124f6e781 Added configuration based routing (direct, random and round-robin) to the remote actors created by the RemoteActorRefProvider, also changed the configuration to allow specifying multiple remote nodes for a remotely configured actor.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-05 18:44:46 +02:00
Peter Vlugter
6bb721d7e2 Remove the sun.tools.tree.FinallyStatement import 2011-10-05 18:00:13 +02:00
Peter Vlugter
7884691d3a Begin using compiled code examples in the docs. See #781 2011-10-05 17:41:29 +02:00