Commit graph

42 commits

Author SHA1 Message Date
Endre Sándor Varga
4c7691fe40 Removed implicit conversions from ActorRef to AssociationEventListener and HandleEventListener 2012-12-18 14:30:04 +01:00
Endre Sándor Varga
0705d47a88 Streamlined configuration, transport adapters and FailureInjector
- Transports no longer uses raw ActorRefs as listeners but proper interfaces.
 - Added managementCommand support to Transports
 - Added support for dynamically loadable transport adapters
 - Added throttler/failure injector transport adapter
 - added actor based adapter support
 - Changed configuration method of multiple transports - Fixed tests to work with the new remoting
2012-12-03 10:06:38 +01:00
Björn Antonsson
d46f626479 Limit the number of netty worker threads based on configuration. #2659 2012-10-30 08:45:12 +01:00
Roland
0f04239f67 move Duration classes according to scala 2.10 nightly and remove casts to FiniteDuration, see #2504 2012-10-11 15:18:10 -07:00
Roland
0078b52707 fix up RemoteConfigSpec 2012-08-17 14:48:16 +02:00
Viktor Klang
54a3a44bf8 #2292 - Removing akka.util.Duration etc and replace it with scala.concurrent.util.Duration 2012-06-29 13:33:20 +02:00
Viktor Klang
dec7824de8 Merge branch 'master' into wip-scala210M4-√ 2012-06-28 15:55:47 +02:00
Viktor Klang
ebfda69c83 adding RCLE test 2012-06-28 11:13:30 +02:00
Viktor Klang
4a334bd4bc Adding test for logging of RLCEs 2012-06-28 11:07:40 +02:00
Viktor Klang
083039d379 Akka Remote now compiles and tests pass 2012-06-25 16:29:08 +02:00
Viktor Klang
0330a5fd29 Adding the low watermark option 2012-06-01 21:47:14 +02:00
Viktor Klang
12b9af25cf #2168 - Exposing more Netty options in remtoe config 2012-06-01 21:29:47 +02:00
Viktor Klang
fe1df72691 Adding support for specifying localAddress in remote config 2012-02-18 17:39:20 +01:00
Roland
d8fa7578e1 move RemoteServerStarted message to NettyRemoteTransport, fixes #1771
- also make port=0 (auto) for two remote tests (config&deployer)
- also fix remote-sample conf files to configure “netty” section
2012-02-02 11:46:52 +01:00
Viktor Klang
9421f37f96 Ripping out ReadTimeout and adding Idle timeout and fixing issues with configured port on top of that 2012-02-01 16:06:30 +01:00
Jonas Bonér
0b59640820 Fixed bunch of stuff based on feedback on pull request.
Moved all cluster config to akka-cluster (and added test).

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-01-31 15:01:06 +01:00
Roland
4fb0858e55 remote cleanup: include feedback from Viktor and Patrik
- re-label Client/Server to Inbound/Outbound for netty settings
  description
- move to just using exactly one class loader for all reflective
  activities of the ActorSystem, which is either the context class
  loader or the one which loaded the ActorSystem’s class; document that
  putting Akka on boot class path will not work
- be more careful with initializing the Client- and ServerBootstrap
- rename Port to DesiredPortFromConfig to discourage misuse
- write test for NettySettings
- various small fixes
2012-01-30 11:57:24 +01:00
Roland
52d6e5625d Merge remote-tracking branch 'origin/master' into wip-1685-remote-cleaup-∂π 2012-01-26 11:24:23 +01:00
Viktor Klang
91a6348497 Fixing so that RemoteConfigSpec actually tests what is used by Akka 2012-01-25 16:50:06 +01:00
Viktor Klang
7e0cf29e8f Adding config options, tests and conditional code for remote message logging 2012-01-21 00:32:37 +01:00
Viktor Klang
4b527518db Merging in the daemonicity stuff 2012-01-20 15:50:22 +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
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
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
Viktor Klang
7a3cbdf86f #1656 - Adding support for configuringthreads created by remoting as daemons 2012-01-18 18:10:56 +01:00
Viktor Klang
bfd11ad8c5 Removing nodename 2012-01-17 15:25:26 +01:00
Viktor Klang
5106fd6d4d Removing ClusterName 2012-01-17 11:40:26 +01:00
Viktor Klang
0b9c8bd248 Removing legacy configuration message resend shenanigans 2012-01-17 01:41:28 +01:00
Viktor Klang
dfcd1571fd Adding backoff-timeout to remote configuration 2011-12-30 17:24:23 +01:00
Viktor Klang
5d2bd2492f Switching to using OrderedMemoryAware executor same for all of the remoting, added more remote config tests and switched to mem size conf 2011-12-30 12:04:20 +01:00
Roland
92e7693203 Merge remote-tracking branch 'origin/master' into wip-remote-supervision-rk 2011-12-13 16:59:43 +01:00
Roland
fac840adfc make remote lookup work
- create RemoteActorRef in actorFor
- simplify send/receive because Futures/Exceptions do not go over the
  wire anymore
- add RemoteCommunicationSpec which uses two ActorSystems communicating
  in the same JVM via TCP socket
2011-12-08 14:44:05 +01:00
Patrik Nordwall
5cee76820e Updated documentation of Actors Scala. See #1435 2011-12-07 11:56:58 +01:00
Viktor Klang
95791ce4c5 #1424 - RemoteSupport is now instantiated from the config, so now anyone can write their own Akka transport layer for remote actors 2011-12-02 18:08:38 +01:00
Patrik Nordwall
639c5d6a54 Revert the removal of akka.remote.transport. Will be used in ticket 1424 2011-12-02 10:16:21 +01:00
Patrik Nordwall
fd82251501 Minor fixes from review comments. 2011-12-02 09:26:56 +01:00
Patrik Nordwall
82bbca43ab Merge branch 'master' into wip-1378-fixme-patriknw
Conflicts:
	akka-actor/src/main/scala/akka/actor/ActorRef.scala
	akka-remote/src/main/scala/akka/remote/RemoteActorRefProvider.scala
	akka-remote/src/main/scala/akka/remote/netty/NettyRemoteSupport.scala
2011-12-02 09:03:03 +01:00
Patrik Nordwall
80ac1737cd First walk throught of FIXME. See #1378
* Fixed obvious
* Created tickets for several, #1408, #1409, #1410, #1412, #1415, 1416, #1418
* Moved LoggingReceive from akka.actor to akka.event
* Touched several of the FIXME to make them visible in code review
2011-11-30 10:48:26 +01:00
Patrik Nordwall
b56201ab7f Updated to latest config lib and changed how reference config files are loaded.
* Config lib 4f3a91f
* All reference files named reference.conf, all will be loaded
* Usage of ConfigFactor.load as default way
* Extensions use same config as ActorSystem.settings.config
2011-11-29 11:56:41 +01:00
Jonas Bonér
d2ef8b99bc Fixed problems with remote configuration.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-25 15:42:25 +01:00
Viktor Klang
bf20f3fa44 Reinterpretation of Extensions 2011-11-24 18:53:18 +01:00
Patrik Nordwall
179399296e Modularize configuration. See #1361
* Split config reference to one for each module/extension.
* Adjusted signature of registerExtension to avoid race of extension init
* Moved Duration.dilated to testkit
* TestKitExtension
* RemoteExtension
* SerializationExtension
* Durable mailboxes extensions
* Fixed broken serialization bindings and added test
* Updated configuration documentation
* System properties akka.remote.hostname akka.remote.port replaced with akka.remote.server.hostname and akka.remote.server.port
* Adjustments of ActorSystem initialization. Still don't like the two-phase constructor/init flow. Very fragile for changes.

Review fixes. SerializationExtension
2011-11-23 20:31:58 +01:00
Renamed from akka-actor-tests/src/test/scala/akka/actor/ClusterSpec.scala (Browse further)