Commit graph

78 commits

Author SHA1 Message Date
Roland
d5c23bcb76 add ExtendedActorSystem to shield ActorSystemImpl
- add provider, guardian, systemGuardian and deathWatch to it
- make ActorSystemImpl extend ExtendedActorSystem
- use ExtendedActorSystem for creating extensions, thereby limiting the
  access extensions get to just those four published methods.
2012-01-24 11:33:40 +01:00
Roland
2a0c4ca145 Merge branch 'wip-1581-patterns-ask' 2012-01-23 18:35:30 +01:00
patriknw
d21d03207f Merge pull request #247 from jboner/wip-1711-supervisorStrategy-patriknw
FaultHandler as method in Actor instead of in Props. See #1711
2012-01-23 08:40:59 -08:00
Patrik Nordwall
9e15d2062b Renamed more things to SupervisorStrategy. Updated more docs. See #1711 2012-01-23 17:18:49 +01:00
Patrik Nordwall
1572da09db Changed name of the instance field as suggested. See #1702 2012-01-23 16:11:58 +01:00
Roland
3a30f915c3 remove use of akka.actor.timeout property for ask 2012-01-23 15:59:18 +01:00
Patrik Nordwall
66e0a7cf0b Moved definition of fault handler from Props to overridable method supervisorStrategy in Actor. See #1711
* New trait SupervisorStrategy for TypedActors
* Adjustments of docs
* Updated tests
2012-01-23 13:49:19 +01:00
Patrik Nordwall
6a4d7f547c Improvement based on feedback. See #1702 2012-01-21 11:05:30 +01:00
Roland
34a0f005b1 Merge branch 'master' into wip-1581-patterns-ask 2012-01-20 19:29:17 +01:00
Roland
1f99b425de docs for ask/pipeTo patterns 2012-01-20 18:09:26 +01:00
Patrik Nordwall
05d4a6ed38 DOC: Extension sample for application specific settings. See #1702
* Added sample and documentation for how to create extension for application specific config
* Simplified java usage of ExtensionIdProvider, more aligned with how it is done in scala
2012-01-20 11:30:33 +01:00
Peter Vlugter
eecb2a6247 Merge branch 'master' into java-api-for-scala-stm
Conflicts:
	akka-transactor/src/main/scala/akka/transactor/Atomically.scala
2012-01-20 11:36:54 +13:00
Peter Vlugter
27da7c4d12 Update java-friendly api for scala stm
- move to japi.Stm
- add newMap, newSet, newList methods with java conversions
- add afterCompletion lifecycle callback
2012-01-20 11:31:28 +13:00
Viktor Klang
149fbea5a7 Updating Copyright as per #1660 2012-01-19 18:21:06 +01:00
Viktor Klang
290f508195 Modifying the test for Futures.reduce 2012-01-19 17:47:58 +01:00
Peter Vlugter
2757869c62 Update to new Java API for Scala STM 2012-01-19 11:11:59 +13:00
Roland
1daaee98aa Merge remote-tracking branch 'origin/master' into wip-1581-patterns-ask 2012-01-18 14:20:13 +01:00
Roland
2bed2cb954 move everything into package akka.pattern 2012-01-18 10:18:51 +01:00
Patrik Nordwall
e7a0247c0d Handle remote routers transparently. See #1606
* RemoteRouterConfig wrapper with RemoteRouteeProvider instead if fixed remote routers.
* Had to refactor and introduce RouteeProvider for different implementations of how to create routees.
* Works with Resizer also.
* Added some tests.
2012-01-17 09:11:45 +01:00
Viktor Klang
f4b9733c03 Merge branch 'master' into wip-1626-1627-typed-actors-√ 2012-01-16 15:48:39 +01:00
Viktor Klang
de151617f2 Creating TypedProps and implementing support for wrapping an arbitrary ActorRef as a TypedActor 2012-01-16 14:11:29 +01:00
Patrik Nordwall
6a12fb7876 Implemented SmallestMailboxRouter. See #1619 2012-01-11 14:06:47 +01:00
Patrik Nordwall
409cbaf8e2 Removed exposure of RoutedActorRef in RouterConfig. See #1618 2012-01-11 11:30:32 +01:00
Patrik Nordwall
19845d93e8 Improvements and finalization of dynamically resizable routers, replaces ActorPool. See 1557
* resize on nth message instead of always each message
* improved pressure evaluation
* more tests
* documentation
* removed ActorPool
2012-01-10 15:53:27 +01:00
Patrik Nordwall
ed2b65c402 DOC: Routing (Java). See #1600 2012-01-05 17:59:19 +01:00
Patrik Nordwall
5ba0963d71 Added documentation. See #1583 2012-01-03 11:41:49 +01:00
Nikolay Botev
ce1d2f4721 akka.patterns.ask everywhere 2012-01-01 22:23:19 -08:00
Nikolay Botev
877075cdac ask-2.3 2012-01-01 22:23:13 -08:00
Nikolay Botev
a44da38e2b ask-2.0 2012-01-01 22:23:08 -08:00
Viktor Klang
69c56acaf3 Unborking master 2011-12-30 22:13:25 +01:00
Viktor Klang
fbb7cb20a1 Adding Java docs for Serialization, and discovered some flaws with the Java API, that have been fixed 2011-12-30 22:06:41 +01:00
Roland
e7a120f923 document EventStream, see #1507
- fix some Java API issues
- also mention dead letters, see #1491
2011-12-30 00:00:25 +01:00
Roland
d181a35fa7 fall back to unhandled() in onReceive() in docs 2011-12-29 20:49:26 +01:00
Roland
05e11b6fa3 Merge remote-tracking branch 'origin/master' into wip-improve-docs-rk 2011-12-28 16:15:20 +01:00
Roland
2fbef5b5ce various documentation improvements
- document DeathWatch
- actorOf vs. actorFor
2011-12-28 13:13:39 +01:00
Viktor Klang
da708901a1 Switching withCreator + class to Props + class 2011-12-27 13:35:50 +01:00
Peter Vlugter
0eb1ecbbf4 Merge pull request #179 from jboner/migrate-transactor
Migrate transactor to scala-stm
2011-12-21 15:47:36 -08:00
Peter Vlugter
8270b2c038 Replace use of props withCreator in java examples 2011-12-22 12:22:32 +13:00
Peter Vlugter
9b58ecece7 Create timeouts from java without using durations 2011-12-22 12:12:41 +13:00
Patrik Nordwall
817c3c5ee7 Improved priority mailbox usage, and documentation. See #1458 2011-12-21 20:34:46 +01:00
Patrik Nordwall
6eb7e1d438 Rename dispatcherFactory to dispatchers in ActorSystem. See #1458 2011-12-21 19:07:54 +01:00
Patrik Nordwall
f772b0183e Initial commit of dispatcher key refactoring, for review. See #1458
* Changed signatures and constructor of MessageDispatcherConfigurator
* Changed Dispatchers.lookup, keep configurators instead of dispatchers
* Removed most of the Dispatchers.newX methods, newDispatcher is still there because of priority mailbox
* How should we make it easy to configure priority mailbox?
* Changed tons tests
* Documentation and ScalaDoc is not updated yet
* Some tests in ActorModelSpec are temporary ignored due to failure
2011-12-21 13:27:50 +01:00
Peter Vlugter
2a5fc8e202 Update transactor docs and switch to compiled examples 2011-12-21 21:32:20 +13:00
Viktor Klang
49b3bac69c Removing UnhandledMessageException and fixing tests 2011-12-20 11:19:06 +01:00
Viktor Klang
634147d090 Cleaning up some of the Java samples and adding sender to the UnhandledMessage 2011-12-20 10:52:27 +01:00
Peter Vlugter
8da41aaef9 Add copyright header to agent examples 2011-12-20 11:07:59 +13:00
Peter Vlugter
00c7fe5bbb Merge pull request #172 from jboner/migrate-agent
Migrate agent to scala stm
2011-12-19 13:19:31 -08:00
Henrik Engstrom
419b69438f Added copyright header to all samples in docs. Fixes #1531 2011-12-19 11:07:59 +01:00
Peter Vlugter
a144c35c41 Add docs and tests for java api for agents. Fixes #1545 2011-12-19 19:03:04 +13:00
Patrik Nordwall
164f92afd7 DOC: Added recommendation about naming actors and added name to some samples 2011-12-16 00:39:29 +01:00