Commit graph

12466 commits

Author SHA1 Message Date
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
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
Peter Vlugter
1e1409e796 Start on getting the actor tests compiling and running again 2011-10-10 15:45:55 +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
Roland
2599de0381 Scalariform & add AkkaSpec 2011-10-10 11:22:01 +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
Peter Vlugter
67a9a01bff Merge master into tame-globals branch 2011-10-07 15:59:18 +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
Peter Vlugter
3aadcd7645 Update stm module to work with AkkaApplication 2011-10-07 15:22:36 +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
Roland
2381ec54d0 introduce AkkaApplication
- remove global Config
- pull everything which depended on it into new AkkaApplication
- leave EventHandler alone for the moment: that evil sucker gets his
  very own AkkaApplication("akka-reference.conf") until we have settled
  on an acceptable logging API without globals
- make akka-actor and akka-testkit compile
- TestKit uses implicit AkkaApplication passing for maximum convenience
- Actor object nearly completely removed, actor creation possible via
  ActorRefFactory interface which is implemented by AkkaApplication and
  ActorContext
- serialization of ActorRef is probably broken, and so is the reflective
  RemoteSupport (now needs AkkaApplication constructor arg)
- everything else is still broken, including akka-actor-tests, so this
  is of course all not runtime-tested
2011-10-06 21:19:46 +02:00
Roland
ccb429df13 add Eclipse .cache directories to .gitignore 2011-10-06 21:17:15 +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