Commit graph

7518 commits

Author SHA1 Message Date
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
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
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
Roland
93b1ef3703 make akka-actor-tests compile again 2011-10-11 16:05:48 +02:00
Peter Vlugter
1e1409e796 Start on getting the actor tests compiling and running again 2011-10-10 15:45:55 +02:00
Roland
2599de0381 Scalariform & add AkkaSpec 2011-10-10 11:22:01 +02:00
Peter Vlugter
67a9a01bff Merge master into tame-globals branch 2011-10-07 15:59:18 +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
Peter Vlugter
7884691d3a Begin using compiled code examples in the docs. See #781 2011-10-05 17:41:29 +02:00
Viktor Klang
56f8f858be Adding AbstractPromise to create an AtomicReferenceFieldUpdater to get rid of the AtomicReference allocation 2011-10-04 21:17:01 +02:00
Viktor Klang
c4508a3e26 Merge branch 'master' of github.com:jboner/akka 2011-10-04 20:10:41 +02:00
Viktor Klang
fec129e675 Preventing wasteful computation in BalancingDispatcher if buddy and receiver is the same guy 2011-10-04 20:10:27 +02:00
Viktor Klang
815f710e11 Removing PriorityDispatcher since you can now use Dispatcher with UnboundedPriorityMailbox or BoundedProprityMailbox 2011-10-04 20:10:04 +02:00
Roland
2252c38477 switch on force inlining of Mailbox one-liners 2011-10-04 19:40:49 +02:00
Roland
4b5c99e9bd optimize Mailbox._status usage
- make Scheduled==4 to allow bitwise operations
- unfold become(status) into three methods for better inlining
- optimize patterns in setAsIdle away: table switch is probably slower
  than a single conditional
- fix LoggingReceiveSpec glitch wrt. async stop()
2011-10-04 19:33:06 +02:00
Viktor Klang
4df9d621bb Fixing DispatcherActorSpec timeout 2011-10-04 16:35:34 +02:00
Viktor Klang
d000a51e92 Removing the AtomicInteger in Mailbox and implementing it as a volatile int + AtomicIntegerFieldUpdater in AbstractMailbox.java 2011-10-04 15:22:41 +02:00
Viktor Klang
6b8ed8601b Tidying up some of the CAS:es in the mailbox status management 2011-10-04 15:02:51 +02:00
Viktor Klang
df94449d9b Merge remote branch 'origin/remove-dispatcherLock' 2011-10-04 14:21:12 +02:00
Viktor Klang
a718d8a408 Merge branch 'deathwatch' 2011-10-04 13:53:46 +02:00
Viktor Klang
393e997a64 Renaming InVMMonitoring 2011-10-04 13:48:25 +02:00
Viktor Klang
785e2a2636 Moving the cause into Recreate 2011-10-04 13:23:24 +02:00
Viktor Klang
5321d02f64 Removing actorClass from ActorRef signature, makes no sense from the perspective of distribution, and with async start it is racy 2011-10-03 20:47:56 +02:00
Viktor Klang
284a8c4d05 Removing getSupervisor and supervisor from ActorRef, doesn't make sense in a distributed setting 2011-10-03 20:29:41 +02:00
Viktor Klang
0f049d67e6 Removing ActorRef.isRunning - replaced in full by isShutdown, if it returns true the actor is forever dead, if it returns false, it might be (race) 2011-10-03 19:43:45 +02:00
Viktor Klang
a1593c0419 Fixing a logic error in the default DeathWatch 2011-10-03 17:43:28 +02:00
Viktor Klang
dcf4d35a32 Fixing the bookkeeping of monitors etc so that it's threadsafe 2011-10-03 17:20:10 +02:00
Viktor Klang
2e20fb579e All tests pass! Supervision is in place and Monitoring (naïve impl) works as well 2011-10-03 15:42:58 +02:00