Commit graph

7775 commits

Author SHA1 Message Date
Viktor Klang
c6e44ffef7 Removing hostname and port for AkkaApplication, renaming defaultAddress to address, removing Deployer.RemoteAddress and use the normal akka.remote.RemoteAddress instead 2011-11-10 19:20:07 +01:00
Viktor Klang
c75a8db0de Merging in Henriks HashedWheelTimer stuff manually 2011-11-10 18:41:51 +01:00
Viktor Klang
1fb1309dc3 Merging with master 2011-11-10 18:06:16 +01:00
Viktor Klang
ba9281e267 Removing InetSocketAddress as much as possible from the remoting, switching to RemoteAddress for an easier way forward with different transports. Also removing quite a few allocations internally in the remoting as a side-efect of this. 2011-11-10 17:39:31 +01:00
Roland
7553a892c4 turn unknown event in StandardOutLogger into warning 2011-11-10 17:06:51 +01:00
Roland
5b9a57d6e4 optimize SubchannelClassification.publish (manual getOrElse inline) 2011-11-10 17:06:51 +01:00
Henrik Engstrom
1577f8bcb3 Updated after code review:
Removed logging
Slimmed down the Java code
Moved default scheduler
2011-11-10 16:31:50 +01:00
Roland Kuhn
3e166030ec Merge pull request #107 from jboner/actor-path
Actor path: created pull request in Peter’s name
2011-11-10 06:11:12 -08:00
Viktor Klang
0800511ac9 Removing one allocation per remote message send 2011-11-10 14:12:07 +01:00
Viktor Klang
91a251e61d Merge branch 'foo' 2011-11-10 12:42:12 +01:00
Viktor Klang
780223640e Removing the distinction between client and server module for the remoting 2011-11-10 12:41:18 +01:00
Jonas Bonér
019dd9f8d8 minor fix to logging 2011-11-10 12:35:03 +01:00
Peter Vlugter
0c7531814f Extend waiting time for "waves of actors" test by explicitly waiting for all children to stop. 2011-11-10 12:21:42 +01:00
Peter Vlugter
a7ed5d7816 Update deployer to use actor path rather than old address (name) 2011-11-10 12:21:42 +01:00
Jonas Bonér
66cd1dbe33 Removed 'GENERIC' log level, now transformed into Debug(..) 2011-11-10 12:20:22 +01:00
Peter Vlugter
7b8a865c00 Rename address to name or path where appropriate
- TypedActor: address -> name
- TestActorRef, TestFSMRef: address -> name
- Props.randomAddress -> randomName
- Remote protocol: address -> name
- Address.validate moved to ActorPath
2011-11-10 12:19:07 +01:00
Peter Vlugter
3f7cff141d Add an initial implementation of actor paths 2011-11-10 12:19:07 +01:00
Jonas Bonér
00b434d6ec Removed CircuitBreaker and its spec.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-10 11:58:20 +01:00
Henrik Engstrom
d1ebc1ed06 Added a Cancellable trait to encapsulate any specific scheduler implementations from leaking. Fixes #1286 2011-11-10 11:53:36 +01:00
Jonas Bonér
85fc8be749 Merge branch 'master' of github.com:jboner/akka 2011-11-10 11:51:04 +01:00
Jonas Bonér
f4740a4798 Moved 'failure-detector' config from 'akka.actor.deployment.address' to 'akka.remote'. Made AccrualFailureDetector configurable from config. 2011-11-10 11:50:11 +01:00
Henrik Engstrom
896c906d03 Implemented HashedWheelTimer as the default scheduling mechanism in Akka. Fixes #1291 2011-11-10 11:32:26 +01:00
Roland
b2d548bd0e implement SubchannelClassification in MainBus, fixes #1340 2011-11-10 00:26:53 +01:00
Roland
70ae4e1984 Merge branch 'logging'
known failures in BalancingDispatcherModelSpec and ActorPoolSpec have
tickets
2011-11-09 18:18:32 +01:00
Peter Vlugter
c8325f6410 Check mailbox status before readding buddies in balancing dispatcher. Fixes #1338 (or appears to) 2011-11-09 17:45:29 +01:00
Roland
594f52100b actually make buddies comparator consistent now 2011-11-09 17:40:04 +01:00
Roland
402258f5b7 make BalancingDispatcher.buddies comparator transitive 2011-11-09 17:25:23 +01:00
Viktor Klang
0b2690ec50 Adding support for reusing inbound connections for outbound messages, PROFIT 2011-11-09 17:17:03 +01:00
Viktor Klang
51a01e252f Removing akka-http, making so that 'waves of actors'-test fails when there's a problem and removing unused config sections in the conf file 2011-11-09 15:47:57 +01:00
Viktor Klang
3bffeaefc8 De-complecting the notion of address in the remoting server 2011-11-09 15:04:57 +01:00
Roland
a747ef7856 Merge remote branch 'origin/master' into logging
BalancingDispatcherModelSpec is currently broken, leaves count==1 in
wavesOfActors test, committed anyway in order to check out where it
broke before this merge
2011-11-09 14:56:05 +01:00
Viktor Klang
39ba4fb254 Removing a pointless TODO and a semicolon 2011-11-09 13:04:41 +01:00
Viktor Klang
ed3ff933fa Simplifying remote error interception and getting rid of retarded exception back-propagation 2011-11-09 12:49:51 +01:00
Viktor Klang
b6d53aa54f Removing a couple of lines of now defunct code from the remoting 2011-11-09 12:42:28 +01:00
Viktor Klang
f04b6a5647 Removing executionHandler from Netty remoting since we do 0 (yes, Daisy, you heard me) blocking ops in the message sends 2011-11-09 12:41:37 +01:00
Viktor Klang
bd5b07c573 Merge branch 'master' of github.com:jboner/akka 2011-11-09 11:14:54 +01:00
Viktor Klang
c5de77972d Removing some bad docs 2011-11-09 11:10:36 +01:00
Roland
b3249e0adb finish EventFilter work and apply in three places
- fix memory visibility issue with occurrences counter
- add non-throwing awaitCond and use that for better error reporting
- move occurrence book-keeping (side-effect) out of PF guard, was
  evaluated multiple times (of course!)
- apply in cases where EventFilter.custom was used (one legitimate use
  case remains)
2011-11-09 11:04:39 +01:00
Peter Vlugter
d04ad32588 Get rst docs building again and add some adjustments to the new cluster documentation 2011-11-09 10:40:22 +01:00
Viktor Klang
294c71d9cb Adding stubs for implementing support for outbound passive connections for remoting 2011-11-08 20:43:38 +01:00
Viktor Klang
f12914f8f9 Turning all eventHandler log messages left in NettyRemoteSupport into debug messages and remove more dual entries (log + event) 2011-11-08 20:18:24 +01:00
Viktor Klang
7e66d93e46 Removign dual logging of remote events, switching to only dumping it into the eventHandler 2011-11-08 20:06:41 +01:00
Viktor Klang
01df0c3766 Removing the guard (ReentrantGuard) from RemoteServerModule and switching from executing reconnections and shutdowns in the HashWheelTimer instead of Future w. default dispatcher 2011-11-08 20:00:45 +01:00
Viktor Klang
3021baa3e4 Fixing the BuilderParents generated by protobuf with FQN and fixing @returns => @return 2011-11-08 19:10:07 +01:00
Viktor Klang
55d2a48887 Adding a project definition for akka-amqp (but without code) 2011-11-08 18:56:24 +01:00
Viktor Klang
84706721f9 Renaming ActorCell.supervisor to 'parent', adding 'parent' to ActorContext 2011-11-08 18:55:55 +01:00
Viktor Klang
39d169612f Dropping akka-http (see 1330) 2011-11-08 14:57:11 +01:00
Viktor Klang
48dbfda255 Reducing sleep time for ActorPoolSpec for typed actors and removing defaultSupervisor from Props 2011-11-08 12:30:46 +01:00
Viktor Klang
fd130d0310 Fixing ActorPoolSpec (more specifically the ActiveActorsPressure thingie-device) and stopping the typed actors after the test of the spec 2011-11-08 11:25:15 +01:00
Roland
c1a9475015 TestEventFilter overhaul
- make normal filters available for all four log levels
- allow filtering for
  + exact and complete message
  + start of message
  + regular expression
- keep count of occurrences if requested and verify correct count at end
  of filterEvents/filterExceptions block
- remove akka.testkit.Testing (sleepFor replaced by Duration.dilated.sleep)
- remove Duration.timeFactor (needs config -> AkkaApplication)
- TestLatch needs config -> AkkaApplication (was forgotten because used
  directly System.getProperty)
- lots of scaladoc for TestEventListener infrastructure
2011-11-07 22:23:48 +01:00