Commit graph

762 commits

Author SHA1 Message Date
Patrik Nordwall
39a96b2ac3 Added akka.pattern.gracefulStop. See #1583 2012-01-01 20:55:30 +01:00
Patrik Nordwall
774584642e Rewrite dispatcher usage in ActorModelSpec. See #1563
* Configured dispatcher configurators instead of programatically created and registered configurators
* Removed Dispatchers.register
2012-01-01 16:30:33 +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
Viktor Klang
7aa8904a28 Fixing VerifySerializabilitySpec 2011-12-30 19:13:09 +01:00
Viktor Klang
e78739f7e5 Adding more docs to Serialization and making sure that the Protobuf stuff gets its manifests 2011-12-30 14:15:27 +01:00
Viktor Klang
cffe60bf43 Closing #1584 and #1585 2011-12-30 14:15:26 +01:00
Viktor Klang
840cacfd2a initial commit on serialization docs 2011-12-30 14:14:12 +01:00
Viktor Klang
018033b9d5 Removing some leftovers in the remoting and tweaking the ActorTimeoutSpec 2011-12-30 12:49:53 +01:00
Viktor Klang
88d2427b7f Fixing race in ActorTimeoutSpec and a shadowing import in RoutingSpec 2011-12-30 11:25:39 +01:00
Roland
0fc8ae5d73 Merge branch 'wip-improve-docs-rk' 2011-12-30 00:25:11 +01:00
Roland
fa2440aeca Merge branch 'wip-1190-remote-DeathWatch-∂π' 2011-12-30 00:22:33 +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
df02ca73fb check validity of path elements (actor names), see #1567 2011-12-29 17:32:35 +01:00
Roland
c4f3a93268 implement routing.FromConfig, see #1554 2011-12-29 17:23:35 +01:00
Roland
0ed6a67e08 Remote DeathWatch (2): make it work
- introduce EmptyLocalActorRef, which is returned for unsuccessful
  look-ups of local scope
- this fixes the problem that actors—after their death—can still be
  looked up without losing their identity; otherwise behave like
  DeadLetterActorRef
- adapt tests accordingly
- make DeathWatchSpec reusable and build remote test from it
- remove several unused imports of LocalActorRef
- use LocalRef/RemoteRef in pattern matches where applicable: these are
  marker traits for a ref’s scope; InternalActorRef mandates a scope as
  per its self-type
2011-12-29 16:27:32 +01:00
Viktor Klang
d50a07c74b Breaking the verification test up in 3 pats 2011-12-27 20:07:21 +01:00
Viktor Klang
9701685897 Adding support for verifying serializability of Props.creator as well 2011-12-27 17:30:05 +01:00
Viktor Klang
5ff8f4e2a4 Verifying serializability of messages when serialize is on 2011-12-27 16:25:26 +01:00
Viktor Klang
8db3f6aa0a Removing mailboxIsEmpty and mailboxSize from MessageDispatcher 2011-12-27 14:43:37 +01:00
Viktor Klang
193618e195 Changing boxing of TimeoutException to boxing of InterruptedException
and adding support for completing Ask Futures with an AskTimeoutException on timeout.
2011-12-25 18:30:44 +01:00
viktorklang
ac723f1e52 Merge pull request #185 from jboner/wip-1411-specialcase-nlre-√
Specialcasing NonLocalReturn and TimeoutException for Promises
2011-12-25 07:11:31 -08:00
Patrik Nordwall
9749afd72e Removed global counter, which sometimes caused test failures when running tests in parallel.
* Used extension to scope the counter by actor system
2011-12-23 21:26:44 +01:00
Viktor Klang
0d6e6eda27 Specialcasing NonLocalReturn and TimeoutException for Promises 2011-12-23 16:47:40 +01:00
Peter Vlugter
1b8426e49b Fix typed actor spec by adding matching max pool size 2011-12-22 17:54:41 +13:00
Patrik Nordwall
ed2fb14dcf Props.defaultDispatcherId -> Dipsatchers.DefaultDispatcherId. See #1458 2011-12-21 23:46:55 +01:00
Patrik Nordwall
fdf93fe2cc Removed some unessary dispatcher constants in ActorSystem.Settings. See #1458 2011-12-21 20:57:57 +01:00
Patrik Nordwall
817c3c5ee7 Improved priority mailbox usage, and documentation. See #1458 2011-12-21 20:34:46 +01:00
Patrik Nordwall
c4401f1ca8 Changed so that the configured FQCN of the mailboxType must be a MailboxType, not the Mailbox. See #1458 2011-12-21 19:37:18 +01:00
Patrik Nordwall
6eb7e1d438 Rename dispatcherFactory to dispatchers in ActorSystem. See #1458 2011-12-21 19:07:54 +01:00
Patrik Nordwall
df260f8939 Improvements based on feedback. See #1458 2011-12-21 19:02:06 +01:00
Patrik Nordwall
1bce4c39c3 Fixed failing/ignored tests. See #1458 2011-12-21 14:00:32 +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
Henrik Engstrom
92bb4c5afb Merge pull request #180 from jboner/1529-hardcoded-value-he
1529 removed hardcoded timeout value from SGFCR
2011-12-21 03:20:57 -08:00
Viktor Klang
a9cce25ee3 Fixing racy FutureSpec test 2011-12-21 12:05:19 +01:00
Henrik Engstrom
1a8e755738 Minor updates after further feedback. See #1529 2011-12-21 11:46:39 +01:00
Henrik Engstrom
dac0beb01b Updates based on feedback - use of abstract member variables specific to the router type. See #1529 2011-12-21 10:03:26 +01:00
Henrik Engstrom
0dc161c800 Initial take on removing hardcoded value from SGFCR. See #1529 2011-12-20 19:57:42 +01:00
Patrik Nordwall
60f45c72f6 Move dispatcher-shutdown-timeout to dispatcher config. See #1512. 2011-12-20 13:40:51 +01:00
Viktor Klang
f3406acae3 Merge branch 'master' of github.com:jboner/akka 2011-12-20 12:33:17 +01:00
Viktor Klang
49b3bac69c Removing UnhandledMessageException and fixing tests 2011-12-20 11:19:06 +01:00
Henrik Engstrom
c92f3c5ca2 Merge branch 'master' into 1495-routees-message-he
Conflicts:
	akka-actor/src/main/scala/akka/routing/Routing.scala
2011-12-20 11:18:37 +01:00
Viktor Klang
7fc19ec99d Merge branch 'master' of github.com:jboner/akka 2011-12-20 10:58:31 +01:00
Viktor Klang
a4568d6da6 Merging in wip-1510-make-testlatch-awaitable-√ 2011-12-20 10:58:17 +01:00
Patrik Nordwall
83b08b20d9 Added CustomMailbox for user defined mailbox implementations with ActorContext instead of ActorCell.
* Mailbox is still there, with ActorCell, for internal use.
* Implemented durable mailboxes with CustomMailbox
2011-12-19 21:46:37 +01:00
Patrik Nordwall
61813c6635 Make MailboxType implementation configurable. See #1484
* Added mailboxType property to dispatcher config
* Changed durable mailboxes to use this
* Updated docs for durable mailboxes
2011-12-19 21:41:02 +01:00
Henrik Engstrom
f67a50074b Removed racy test. See #1495 2011-12-19 18:35:48 +01:00
Henrik Engstrom
5aa4784ea2 Updated code after feedback; the actual ActorRef's are returned instead of the name of them. See #1495 2011-12-19 16:35:35 +01:00
Patrik Nordwall
6e3c2cb682 Enable parallel execution of tests. See #1548 2011-12-19 16:30:48 +01:00
Viktor Klang
c904fd3913 Making TestLatch Awaitable and fixing tons of tests 2011-12-19 15:05:33 +01:00
Henrik Engstrom
3ff779cabd Added functionality for a router client to retrieve the current routees of that router. See #1495 2011-12-19 14:20:33 +01:00