Roland
020c6b61da
move all Ask stuff to akka.pattern
...
- remove ?(msg, timeout), should always use ?(msg)(timeout) because of
Scala’s only Martin-acknowledged design flaw of being able to pass
tuples into single-arg methods without adding another pair of parens
- put a provider into all actor refs, because they all are created by
and associated with one
- treat all terminated refs equally: tell(msg) and return broken promise
2012-01-20 15:45:53 +01:00
Viktor Klang
12c8022852
Merge branch 'wip-1657-support-random-port-√'
2012-01-20 15:38:21 +01:00
Viktor Klang
47c2b3000a
Moving connection-timeout to client since it belongs there, also adding more docs to the remote reference config
2012-01-20 15:38:02 +01:00
viktorklang
f5a55eb613
Merge pull request #239 from jboner/wip-1657-support-random-port-√
...
#1657 - trying to get random port for port 0
2012-01-20 06:34:22 -08:00
Patrik Nordwall
daff1fd2a0
Improvements based on feedback
2012-01-20 15:17:19 +01:00
Roland
edceda8edf
restructure remoting
...
- remove Remote, incorporate its few fields into RemoteActorRefProvider
- rename RemoteSupport to RemoteTransport to sync up with conf and
the way we talk about it
- remove LocalAddress/RemoteAddress etc. and just have a final case
class Address(protocol, system, host, port)
- split netty settings out or RemoteSettings into NettySettings
- split out from NettyRemoteSupport.scala: Server.scala, Client.scala,
Settings.scala
plus a few fixes, including using the contextClassLoader when loading
the provider for ActorSystemImpl
2012-01-20 14:41:15 +01:00
Viktor Klang
cb86591656
#1657 - trying to get random port for port 0
2012-01-20 14:27:00 +01:00
Patrik Nordwall
0bf87613d2
Timeout in test
2012-01-20 14:24:20 +01:00
Patrik Nordwall
e6cee135f0
Run callbacks in defined order, and ActorSystem.awaitTermination. See #1704 , #1705
2012-01-20 14:17:27 +01:00
Viktor Klang
cda304b20e
Merge with master
2012-01-20 12:32:07 +01:00
Viktor Klang
8dfe619140
#1703 & #1693 - moving daemonicity to one place, and in doing so creating a thread factory in ActorSystem
2012-01-20 12:30:19 +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
Ivan Porto Carrero
05e4af7500
Adds java api helpers
2012-01-20 10:26:55 +01:00
Ivan Porto Carrero
56bd8a6882
Adds missing docs and/or return types
2012-01-20 09:27:23 +01:00
patriknw
642dd9c28a
Merge pull request #235 from jboner/wip-1406-more-migration-docs-patriknw
...
Some more migration docs
2012-01-19 23:35:59 -08:00
Patrik Nordwall
7a3df2f2d8
minor cleanup
2012-01-20 08:35:23 +01:00
Patrik Nordwall
2ec28c8a4b
Merge branch 'master' into wip-1406-more-migration-docs-patriknw
...
Conflicts:
akka-docs/project/migration-guide-1.3.x-2.0.x.rst
2012-01-20 08:33:21 +01:00
Ivan Porto Carrero
973893be86
Rename HWM options, remove Frame companion object
2012-01-20 01:16:24 +01:00
Ivan Porto Carrero
ddadcbbbd0
Throw a clearer error message when the socket handle is null
2012-01-20 00:36:33 +01:00
Ivan Porto Carrero
6519b3f246
Adds scaladocs and removes some options that made no sense in the current implementation
2012-01-20 00:34:36 +01:00
viktorklang
a7a6c49da0
Merge pull request #229 from jboner/wip-remoting-touchup-√
...
Restructuring ActiveRemoteClient, moving to a shared NioClientChannelFac...
2012-01-19 15:24:44 -08:00
Derek Williams
adc29406fd
Throw proper Exceptions instead of sys.error()
2012-01-19 16:11:28 -07:00
Peter Vlugter
c660d7a19d
Merge pull request #224 from jboner/stm-migration-guide
...
Add some migration guidance for stm
2012-01-19 15:02:26 -08:00
Peter Vlugter
b2bfc8bec0
Update stm migration with changes to the java api
2012-01-20 12:01:36 +13:00
Peter Vlugter
b70feea2e2
Merge pull request #223 from jboner/java-api-for-scala-stm
...
Java API for ScalaSTM
2012-01-19 14:47:08 -08: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
Patrik Nordwall
eb3d0c57d7
DOC: Added migration documentation for dispatchers. See #1406
2012-01-19 21:30:23 +01:00
Patrik Nordwall
5370371988
DOC: Added migration documentation for configuration. See #1406
2012-01-19 21:30:23 +01:00
Patrik Nordwall
c3f41b3cd3
DOC: Added migration documentation for Scheduler. See #1406
2012-01-19 21:30:23 +01:00
Ivan Porto Carrero
ced0176985
Adds rst docs and a package wide implicit to extend the actorsystem
2012-01-19 21:26:18 +01:00
Viktor Klang
03bc15feb1
#1692 - Adding config option for making the Scheduler daemonic
2012-01-19 20:55:27 +01:00
Viktor Klang
c4b4302266
Damn you ConfigSpec
2012-01-19 19:48:57 +01:00
Viktor Klang
d888ca5bff
Removing 'name' from dispatchers, just use id, much better
2012-01-19 19:08:51 +01:00
Viktor Klang
2e40cdcf0e
Merge branch 'master' of github.com:jboner/akka
2012-01-19 18:21:25 +01:00
Viktor Klang
149fbea5a7
Updating Copyright as per #1660
2012-01-19 18:21:06 +01:00
viktorklang
b82ded6310
Merge pull request #227 from jboner/wip-1686-future-improvements-√
...
Removed FState, switched to isCompleted checks instead of value.isDefine...
2012-01-19 09:16:30 -08:00
Viktor Klang
76521793a8
#1690 - upgrading Netty to 3.3.0-Final
2012-01-19 18:08:13 +01:00
Viktor Klang
290f508195
Modifying the test for Futures.reduce
2012-01-19 17:47:58 +01:00
Viktor Klang
cc1a22c902
Fixing signature of Futures.reduce
2012-01-19 17:41:53 +01:00
Viktor Klang
69196a998f
Switching to semi-dynamic discovery of sun.misc.Unsafe entity
2012-01-19 16:35:36 +01:00
Viktor Klang
19347dadbc
Renaming TestActorRef.apply to receive, in order to get forwarders generated & improve Java API
2012-01-19 15:49:44 +01:00
Viktor Klang
6db3e59ce1
Restructuring ActiveRemoteClient, moving to a shared NioClientChannelFactory, making the timer optionally a daemon, switching to channel groups
2012-01-19 15:06:58 +01:00
Viktor Klang
44c7f49f92
Removed FState, switched to isCompleted checks instead of value.isDefined, added zip etc
2012-01-19 13:50:02 +01:00
Ivan Porto Carrero
6600290cbe
make poll timeout configurable
2012-01-19 13:06:22 +01:00
Ivan Porto Carrero
6bdffd94a9
make listener a val, remove other lazy vals
2012-01-19 12:52:15 +01:00
Ivan Porto Carrero
69ace98b78
use tailrecursive loop for reading the incoming zmq message
2012-01-19 12:41:04 +01:00
Ivan Porto Carrero
656a98fcaf
uses collect first where appropriate, removes redundant config from the spec and uses a deathwatch for the listener
2012-01-19 12:38:36 +01:00
Viktor Klang
97280ffeed
Fixing master: Unborking of BalancingDispatcher, fixing of PinnedDispatcher config, not creating one dispatcher per message for PinnedDispatcher ;)
2012-01-19 12:15:49 +01:00
Ivan Porto Carrero
6f94c57ba6
move private objects for the ConcurrentSocketActor to a companion object
2012-01-19 12:04:35 +01:00