Commit graph

12466 commits

Author SHA1 Message Date
Endre Sándor Varga
e2ce4644f1 Added connection style UDP (not working fully yet) 2013-02-05 15:48:29 +01:00
Endre Sándor Varga
98a707bd57 Fixed temporarily disabled StopReading operation 2013-02-05 13:38:27 +01:00
Endre Sándor Varga
78a9e81a6b Eliminated KickStartDone and using ChannelRegistered 2013-02-05 13:26:43 +01:00
Endre Sándor Varga
3505a7e76b Failed commands in SelectionHandler are now notified in a nicer way. 2013-02-05 12:17:26 +01:00
Endre Sándor Varga
1ec065b0cd Factored out common manager code and SocketOptions 2013-02-05 11:48:47 +01:00
Patrik Nordwall
c7ed66d3d8 Merge pull request #1105 from akka/wip-3009-deadLetters-sender-patriknw
Preserve sender when sending to deadLetters, see #3009
2013-02-05 02:35:13 -08:00
Patrik Nordwall
985307666e Merge pull request #1106 from akka/wip-2863-zeromq-pinned-patriknw
zeromq socket pinned to the thread that created it, see #2863
2013-02-05 02:30:58 -08:00
Patrik Nordwall
f4f7db13fc Merge pull request #1102 from akka/wip-2979-loggers-patriknw
Rename event-handlers to loggers, see #2979
2013-02-05 02:20:49 -08:00
Patrik Nordwall
2476831705 Rename event-handlers to loggers, see #2979
* Rename config akka.event-handlers to akka.loggers
* Rename config akka.event-handler-startup-timeout to
  akka.logger-startup-timeout
* Rename JulEventHandler to JavaLogger
* Rename Slf4jEventHandler to Slf4jLogger
* Change all places in tests and docs
* Deprecation, old still works, but with warnings
* Migration guide
* Test for the deprecated event-handler config
2013-02-05 11:19:02 +01:00
Roland
9b0c3a486f avoid wrapping messages when ask returns single type 2013-02-04 11:02:58 -05:00
Endre Sándor Varga
946fb0eec4 Removed WithByteBuffer and friends 2013-02-04 16:24:34 +01:00
Patrik Nordwall
63f0021ed0 zeromq socket pinned to the thread that created it, see #2863 2013-02-04 12:54:17 +01:00
Patrik Nordwall
939893ef5f Preserve sender when sending to deadLetters, see #3009 2013-02-04 12:41:58 +01:00
Endre Sándor Varga
58ab585844 Various fixes to tests 2013-02-04 11:21:04 +01:00
Björn Antonsson
c6f08fb935 Do not try to generate ScalaDoc diagrams for akka-channels-tests since it will contain none. See #3010 2013-02-04 10:42:32 +01:00
Björn Antonsson
fb69f33dd1 Do not interrupt LARS at shutdown or tasks might fail. See #3005 2013-02-04 09:39:45 +01:00
Roland
859589b9d4 DSL element for future transformations in send pipeline 2013-02-03 22:32:23 +01:00
Roland
a9cb1f9c19 remove test apidocs from unidoc 2013-02-01 21:22:59 +01:00
Roland Kuhn
125f215eaa Merge pull request #1089 from Crossing-Tech/corrections
correction of akka-osgi imports (missing imports)
2013-02-01 07:58:30 -08:00
Roland Kuhn
e06076553c Merge pull request #1097 from akka/wip-channels-∂π
add Typed Channels, see #2929
2013-02-01 06:37:41 -08:00
Roland
b127ab0d4f final review comments
- make it EXPERIMENTAL
- shuffle docs around to be less scary
- reuse sameThreadExecutionContext in CircuitBreaker
- typos
2013-02-01 15:32:56 +01:00
Björn Antonsson
6440e385f1 Merge pull request #1079 from akka/wip-2954-transport-startup-timeout-patriknw
Increase remoting startup/shutdown timeouts, see #2954
2013-02-01 04:48:00 -08:00
Endre Sándor Varga
8b4a3b0b92 Another LIMBO commit, but TCP now uses the unified selector 2013-02-01 13:11:17 +01:00
Endre Sándor Varga
ad60b155c6 Temporary LIMBO commit, but UDP now uses the unified selector 2013-02-01 12:38:13 +01:00
Björn Antonsson
f370942c00 Merge pull request #1093 from akka/wip-2880-use-new-scaladoc-features-ban
Adding implicits and diagrams to scaladoc. See #2880
2013-02-01 02:56:08 -08:00
Björn Antonsson
c94ef5c66e Adding implicits and diagrams to scaladoc. See #2880 2013-02-01 11:55:08 +01:00
Roland Kuhn
1c11abd230 Merge pull request #1101 from akka/wip-2950-LARS-race-∂π
fix two bugs in LARS, see #2950
2013-02-01 02:19:53 -08:00
Patrik Nordwall
abc9471919 Merge pull request #1086 from akka/wip-2690-remote-fd-patriknw
Failure detector refactoring, see #2690
2013-02-01 02:04:53 -08:00
Patrik Nordwall
157a25bcde Failure detector refactoring, see #2690
* Failure detector was previously copied with refactoring to
  akka-remote and this refactoring makes use of that and removes
  the failure detector in akka-cluster
* Adjustments to reference.conf
* Refactoring of FailureDetectorPuppet
2013-02-01 10:08:39 +01:00
Roland Kuhn
6198480c34 Merge pull request #1091 from jamie-allen/wip-2984-sbt-documentation
Added libraryDependencies info for sbt users below 0.12.x
2013-01-31 22:49:24 -08:00
Roland Kuhn
7020b41fce Merge pull request #1099 from akka/wip-2978-non-direct-∂π
remove old “direct” router references, see #2978
2013-01-31 22:47:37 -08:00
Roland
2008bab2ba fix two bugs in LARS, see #2950
- initial setting of the repeated task raced with first execution, when
  the latter won the task would not repeat
- there was a race in task submission which could lead to enqueueing one
  round too late
2013-02-01 07:33:51 +01:00
Jamie Allen
ad9365e7fc Added libraryDependencies info for sbt users below 0.12.x
Removed crossString
2013-01-31 12:57:33 -08:00
Roland
1b331dc547 Merge branch 'master' into wip-channels-∂π 2013-01-31 20:26:01 +01:00
Roland
86ded1fb0b review comments
- some API docs
- require names for top-level actors
- allow names for children
- flag error when no channels declared
2013-01-31 20:19:20 +01:00
Roland
ddbde50a14 remove old “direct” router references, see #2978 2013-01-31 16:22:08 +01:00
Viktor Klang (√)
5164e2e08e Merge pull request #1096 from akka/wip-2986-ActorContext-executor-√
#2986 - Changing ActorContext and ActorRefFactory's dispatcher to retur...
2013-01-31 06:42:12 -08:00
Viktor Klang
e519e3dc3b #2986 - Changing ActorContext and ActorRefFactory's dispatcher to return ExecutionContext 2013-01-31 15:41:31 +01:00
Patrik Nordwall
bc9cc3c66e Merge pull request #1076 from akka/wip-2909-rm-workaround-patriknw
Remove work-around for sending to broken connections, see #2909
2013-01-31 05:20:23 -08:00
Patrik Nordwall
9dc124dacd Remove work-around for sending to broken connections, see #2909
* Previous work-around was introduced because Netty blocks when sending
to broken connections. This is supposed to be solved by the non-blocking
new remoting.
* Removed HeartbeatSender and CoreSender in cluster
* Added tests to verify that broken connections don't disturb live connection
2013-01-31 13:41:02 +01:00
Patrik Nordwall
89b31c995c Merge pull request #1090 from akka/wip-2870-rm-catch-tell-patriknw
Remove try ... catch constructs around invokations of tell, see #2870
2013-01-31 04:39:41 -08:00
Patrik Nordwall
f8095587ad Merge pull request #1094 from akka/wip-2983-failing-remote-deployment-patriknw
Failing remote deployment, see #2983
2013-01-31 04:38:08 -08:00
Patrik Nordwall
938cf7126b Send ChildTerminated before Terminated when AddressTerminated, see #2983
* Replaces the previous half-baked removeChildWhenToAddressTerminated
2013-01-31 13:36:46 +01:00
Endre Sándor Varga
824158a698 First iteration of Fire-and-Forget style UDP IO 2013-01-31 13:25:40 +01:00
Roland
c362e8168f update copyright headers 2013-01-31 11:42:39 +01:00
Roland
7ef5ace8d8 add docs on how to create child actors with channels 2013-01-31 11:40:39 +01:00
Patrik Nordwall
85cfa78e92 Generate ChildTerminated from all Terminated in RemoteDeploymentWatcher, see #2983
* The problem is that we do remote deployment to a node that isn't alive and with ordinary
  remoting that is not detected at all, as we know. With cluster this was taken care of by
  a later AddressTerminated and ChildTerminated generated by RemoteDeploymentWatcher. With
  the new RemoteDeadLetters the additional watch triggers an immediate Terminate which is
  captured by RemoteDeploymentWatcher but not acted upon since it's not an addressTerminated.
  RemoteDeploymentWatcher unwatch and will therefor not act on later AddressTerminated.
* The long term solution is to have reliable system messages and remote supervision without
  explicit watch, so that we know that the remote deployment fails.
* This short term solution is to let RemoteDeploymentWatcher always generate ChildTerminated,
  also for non-addressTerminated.
* It's possibly racy since ChildTerminated is not idempotent.
2013-01-31 11:28:23 +01:00
Patrik Nordwall
f89dd49954 Share same instance of deadLetters between LARP and RARP, see #2983 2013-01-31 11:28:08 +01:00
Roland
f86fa61613 make all arrows invertible 2013-01-31 11:12:17 +01:00
Roland
5e763bbb38 change synthetic sender’s reply type to UnknownDoNotWriteMeDown 2013-01-31 09:05:49 +01:00