Commit graph

144 commits

Author SHA1 Message Date
Viktor Klang
2bb255b480 Removing ActorTimeoutException everywhere... I swear it... 2012-05-18 15:23:21 +02:00
Jonas Bonér
e9b689c665 Fixed error in Java code for Extension docs 2012-05-09 09:36:16 +02:00
Viktor Klang
57c5dd00e0 Removing akka.actor.Actors since they were deprecated in 2.0.2 2012-05-07 20:37:56 +02:00
Viktor Klang
8ac7ac8499 Adding docs section on how to proxy ActorRefs with TypedActors 2012-04-23 16:19:58 +02:00
Viktor Klang
b7947ca772 #1885 - Adding section on serializing ActorRefs 2012-03-05 11:30:21 +01:00
Roland
73170d1f4b Merge remote-tracking branch 'origin/master' into testing-2.9.2 2012-02-28 10:52:27 +01:00
Viktor Klang
46b9b3cd43 Removing the Filter class, keeping Filter.filterOf 2012-02-27 11:08:02 +01:00
Roland
5fe27b523b rename AddressExtractor to AddressFromURIString, see #1865 2012-02-27 10:28:20 +01:00
Roland
b4fcc3b2f2 Merge remote-tracking branch 'origin/master' into wip-1836-durMB-settings-∂π
... and fix up MailboxType docs with new constructor signature.
2012-02-26 21:38:56 +01:00
Roland
eaee16c7d3 include system.settings when constructing MailboxType, see #1864
- necessary to not have to construct one Settings object per
  MessageQueue
- added system.settings to DispatcherPrerequisites
2012-02-26 21:26:25 +01:00
Roland
0cb2184904 make it compile in SBT & Eclipse with 2.9.2-SNAPSHOT
- there is one remaining bug, which makes it impossible to implement
  Function1[T, Boolean] from Java (I wonder if this will ever work,
  given that there is no equivalent type expressible in Java)
- hence create Function1 in Scala code, Java only prepares a Filter SAM
  which does not inherit from anything
- ugly (one more alloc) but the only way I see right now.
2012-02-25 19:34:59 +01:00
Viktor Klang
1e7ce2bfc7 #1859 - rewriting dispatcher docs 2012-02-24 14:28:17 +01:00
Roland
18cd7f8d5f Merge branch 'wip-1854-fix-restart-∂π' 2012-02-22 15:52:11 +01:00
Roland
ae4a1960ad document multi-arg logging, see #1856 2012-02-22 11:00:00 +01:00
Viktor Klang
98b74a974c Last minute awesomization of the priority based mailbox API docs 2012-02-21 18:24:56 +01:00
Roland
c84daf83e8 clean up mailbox types configurability, see #1843
- add (config) constructors to std mailbox types
- update docs for prio mailbox to directly implement MailboxType
2012-02-21 16:40:34 +01:00
Roland
ef0af0b47f document RemoteRouterConfig, see #1846
- fix Java API
- change to pass in Addresses so that validation happens earlier
2012-02-21 15:37:51 +01:00
Viktor Klang
0f685bdaae Adding example on how to roll your own ExecutionContext 2012-02-20 15:43:17 +01:00
Roland Kuhn
ea45c8bdbb Merge pull request #334 from jboner/wip-system-and-routers-∂π
Wip system and routers ∂π
2012-02-20 01:59:32 -08:00
Roland
62be4dafee fix Java API for creating SupervisorStrategy from array 2012-02-19 10:13:53 +01:00
Roland
0f48b9f3eb make supervisorStrategy of Router configurable, see #1835
- also do not scrap router’s children upon restart
- and add docs and tests
2012-02-18 22:15:39 +01:00
Viktor Klang
e88f2bd936 First stab, do we want to go for throws Throwable or even just switch to RuntimeExceptions? 2012-02-16 12:31:49 +01:00
Patrik Nordwall
e017aeef08 Replace akka.actor.timeout with specfic settings. See #1808
* ActorTimeout (akka.actor.timeout) was used to all sorts of things.
* TestKit default-timeout
* TypedActor timeout for non void methods
* Transactor coordinated-timeout
* ZeroMQ new-socket-timeout
* And in various tests
2012-02-10 16:07:17 +01:00
Roland
47741511aa Merge branch 'wip-1750-remove-ReflectiveAccess-∂π' 2012-02-10 14:38:58 +01:00
Roland
6786e45dc7 Merge branch 'wip-1804-router-create-race-∂π' 2012-02-10 14:38:51 +01:00
Roland
36247b10fe fix some more comments and make Router dispatcher configurable
- assert locking balance when using Unsafe.instance.monitorExit
- add RouterConfig.routerDispatcher
- re-enable “busy” resizer test after switching to BalancingDispatcher
- document resizer asynchronicity and how to configure dispatchers
2012-02-10 14:13:40 +01:00
Roland
09897459d6 fix up Java API for serializers (both use and implement) 2012-02-10 12:45:22 +01:00
Roland
d2f28a06cd Merge remote-tracking branch 'origin/master' into wip-1750-remove-ReflectiveAccess-∂π 2012-02-10 11:41:47 +01:00
Roland
dca309c535 incorporate Patrik’s feedback
- rename to DynamicAccess
- rename to createInstanceFor / createClassFor
- fix a few little things
2012-02-10 11:36:23 +01:00
viktorklang
eb02d461c7 Merge pull request #319 from jboner/wip-futureblocking-√
Removing the erronous execution context and added Java API
2012-02-10 02:22:14 -08:00
Patrik Nordwall
5b50ca96f2 Minor improvement. See #1713 2012-02-10 10:40:24 +01:00
Viktor Klang
d910eeae69 Removing the erronous execution context and added Java API 2012-02-10 08:20:36 +01:00
Patrik Nordwall
4a5f5eef21 Improve docs and api for zeromq. See #1713
* Wrote a comprehensive example for pub-sub
* Clarified how publish to topic is done
* Several minor, but important, api adjustments for the java api, and some also profit for scala
* Added documentation for Java and updated documentation for Scala
2012-02-09 21:25:22 +01:00
Roland
2ce47d6bb5 Bye-bye ReflectiveAccess, introducing PropertyMaster, see #1750
- PropertyMaster is the only place in Akka which calls
  ClassLoader.getClass (apart from kernel, which might be special)
- all PropertyMaster methods (there are only three) take a ClassManifest
  of what is to be constructed, and they verify that the obtained object
  is actually compatible with the required type

Other stuff:
- noticed that I had forgotten to change to ExtendedActorSystem when
  constructing Extensions by ExtensionKey (damn you, reflection!)
- moved Serializer.currentSystem into JavaSerializer, because that’s the
  only one needing it (it’s only used in readResolve() methods)
- Serializers are constructed now with one-arg constructor taking
  ExtendedActorSystem (if that exists, otherwise no-arg as before), to
  allow JavaSerializer to do its magic; possibly necessary for others as
  well
- Removed all Option[ClassLoader] signatures
- made it so that the ActorSystem will try context class loader, then
  the class loader which loaded the class actually calling into
  ActorSystem.apply, then the loader which loaded ActorSystemImpl
- for the second of the above I added a (reflectively accessed hopefully
  safe) facility for getting caller Class[_] objects by using
  sun.reflect.Reflection; this is optional an defaults to None, e.g. on
  Android, which means that getting the caller’s classloader is done on
  a best effort basis (there’s nothing we can do because a StackTrace
  does not contain actual Class[_] objects).
- refactored DurableMailbox to contain the owner val and use that
  instead of declaring that in all subclasses
2012-02-09 11:56:43 +01:00
Patrik Nordwall
1dbce49359 Configure serializer with class as key. See #1789 2012-02-06 21:15:17 +01:00
Roland
4e12b72959 move Java code snippet into compiled class 2012-02-06 12:59:03 +01:00
Peter Vlugter
3fbd18f0fa Update to ScalaSTM 0.5 (which includes Java API) 2012-02-06 11:34:47 +13:00
Patrik Nordwall
612e909c48 Find serializer by looking at interfaces and super classes. See #1766 2012-02-03 17:32:32 +01:00
Roland
45140b465e Merge remote-tracking branch 'origin/master' into wip-1644-programmatic-deploy-∂π 2012-02-03 09:49:04 +01:00
Viktor Klang
8193e61aee Renaming tryRecover to recoverWith as in SIP14, adding parameter to foreach 2012-02-03 09:25:56 +01:00
Roland
76bba1f530 remote deploy docs & provider.getExternalAddressFor (see #1765) 2012-02-03 09:16:18 +01:00
Viktor Klang
009a1afe89 Making createAsker private, adding docs for 'to', changing Java API to be symmetric to Java 2012-02-01 14:54:54 +01:00
Viktor Klang
0c02adaa75 Merge branch 'master' into wip-1735-fix-pipe-to-√ 2012-02-01 12:05:54 +01:00
patriknw
ed7ff3b02f Merge pull request #283 from jboner/wip-1716-directives-patriknw
Replaced Action with Directive in SupervisorStrategy. See #1716
2012-02-01 02:28:42 -08:00
Viktor Klang
571af3d8d2 Removing pipeTo from akka.actor, renamed pipeTo(f,a) to pipe(f,a) 2012-01-31 18:56:25 +01:00
Viktor Klang
815245a133 Merging with master 2012-01-31 17:56:49 +01:00
Viktor Klang
92426a82d9 Renaming Future.or to fallbackTo 2012-01-31 17:19:38 +01:00
viktorklang
a0a4a85e49 Merge pull request #270 from jboner/wip-fix-futures-√
Wip fix futures √
2012-01-31 07:10:59 -08:00
Patrik Nordwall
2a4418799a Replaced Action with Directive in SupervisorStrategy. See #1716 2012-01-31 16:10:07 +01:00
Viktor Klang
aa1c7ea9b9 Adding java documentation for andThen, recover and tryRecover 2012-01-31 16:00:46 +01:00