Commit graph

162 commits

Author SHA1 Message Date
Roland
f8fa825e48 improve safety of Props.create by allowing Creator<T>, see #3377
Props constructors need to be deprecated instead of being mutated
because we cannot just start throwing exceptions in people’s existing
code. Props.withCreator is deprecated for similar reasons, but also
because Props are about the creators, so replacing that after the fact
is not good style.
2013-05-29 23:40:27 +02:00
Roland Kuhn
58756be937 Merge pull request #1483 from akka/wip-IO-docs-∂π
several things IO
2013-05-27 05:27:18 -07:00
Roland
caab7909d7 a few fixes after review of the IO doc changes 2013-05-27 14:26:34 +02:00
Patrik Nordwall
c05262f406 Change default tick-duration to 10ms, see #3387 2013-05-27 09:20:25 +02:00
Patrik Nordwall
2280de38a8 Merge pull request #1474 from akka/wip-3283-non-experimental-cluster-patriknw
Remove experimental label from cluster, see #3283
2013-05-27 00:13:34 -07:00
Patrik Nordwall
3736efb79a Merge pull request #1472 from akka/wip-3225-cluster-infolog-patriknw
Config of cluster info logging, see #3225
2013-05-27 00:13:08 -07:00
Roland
3074b0c2f8 split IO docs and mark them EXPERIMENTAL, see #3294 2013-05-26 19:55:35 +02:00
Roland
b6efd467e8 add ScalaDocs and correct UDP docs, see 3268 2013-05-26 18:29:23 +02:00
Roland
ea5b79e562 add BackpressureBuffer, see #3253
- also make a Write’s “ack” be a Tcp.Event (to suit pipelines)
- add stress test for BackpressureBuffer
- add it to SslTlsSupportSpec
- add it to the docs
2013-05-26 10:58:55 +02:00
Patrik Nordwall
f64b68c466 Remove experimental label from cluster, see #3283 2013-05-23 18:15:20 +02:00
Patrik Nordwall
18a3b3facf Config of cluster info logging, see #3225 2013-05-23 13:36:35 +02:00
Björn Antonsson
6238111673 Cleaning up bad search and replace so docs generate correctly. See #3374 2013-05-23 08:00:32 +02:00
Patrik Nordwall
d5e1f8642a Config library 1.0.1
* Mention the new syntax for seed-nodes in cluster docs
2013-05-22 14:51:47 +02:00
Patrik Nordwall
8f04b53ac7 Merge pull request #1443 from akka/wip-3359-auto-join-patriknw
Remove auto-join config, derive from seed-nodes, see #3359
2013-05-17 04:57:07 -07:00
Patrik Nordwall
ad1eaa6d4a Remove auto-join config, derive from seed-nodes, see #3359 2013-05-17 13:54:51 +02:00
Patrik Nordwall
a0a0f39613 Hardening of cluster member leaving path, see #3309
* Removed leader commands for Shutdown and Exit
* Member shutdown itself  when it sees itself as Exiting
* Singleton cluster with status Exiting will shutdown itself,
  in case the Exiting gossip never arrives
* Exiting member not part convergence check
* Exiting member is removed by leader (on convergence) when the
  exiting member is in the unreachable set, i.e. sucessfully shutdown
* Reverted the change made for #3266, i.e. Exiting is
  detected as unreachable again.
* Adjust ClusterSingletonManager to new Exiting behaviour
* Fix bug in HeartbeatSender, which caused it to continue to
  send heartbeats to removed nodes, instead of rebalancing
* Refactoring of leaderActions method
* Leaving section in docs
2013-05-17 11:39:49 +02:00
Roland
e6655ec157 add Futures.promise to the docs 2013-05-09 21:50:28 +02:00
Björn Antonsson
9c5cc24ba7 Some more test cleanup to not create so many threads. See #3320 2013-05-08 12:42:15 +02:00
Ricky Elrod
324630ab9a Fix 3 dead links to a paper in akka-docs.
Make them point to an Akka mirror of the paper instead.
2013-05-08 03:57:37 -04:00
Björn Antonsson
ddade2c59e Merge pull request #1395 from akka/wip-3217-remotedeathwatchspec-failure-ban
Wait on shutdown of extra actor systems in tests. #3217
2013-05-07 02:03:05 -07:00
Björn Antonsson
e00ab533bb Wait on shutdown of extra actor systems in tests. See #3217 2013-05-07 11:02:03 +02:00
Patrik Nordwall
257313ce2a Merge pull request #1385 from akka/wip-3280-log-payload-size-patriknw
Logging of the size of different message types.
2013-05-07 01:05:03 -07:00
Roland
ddf2117ed7 remove ActorRef#tell(Any), see #3293
also remove FakeActorRef from SerCompSpec
2013-05-03 21:39:29 +02:00
Patrik Nordwall
a9cde60bee Logging of the size of different message types.
* Maximum detected size per message type is logged once
* Default configuration disables this feature
2013-05-03 15:49:42 +02:00
Patrik Nordwall
b8b65c9153 Cluster member age, and usage in singleton, see #3195
* Assign internal upNumber when member is moved to Up
* Public API Member.isOlder
* Change cluster singleton to use oldest member instead of leader
* Update samples and docs
2013-05-03 13:38:35 +02:00
Björn Antonsson
459e3e3720 Merge pull request #1378 from akka/wip-3273-enforce-mailbox-types-on-system-actors-ban
Enforce mailbox types on System actors. #3273
2013-05-03 04:04:02 -07:00
Björn Antonsson
539df2e98a Enforce mailbox types on System actors. See #3273 2013-05-03 11:05:32 +02:00
Roland Kuhn
1ab3987c6e Merge pull request #1393 from CodeBlock/grammarfix
[docs] fix there -> their in two places.
2013-05-03 01:47:14 -07:00
Ricky Elrod
13719e9428 [docs] fix there -> their in two places. 2013-05-02 22:33:11 -04:00
Roland Kuhn
117d91e0ed Merge pull request #1370 from akka/wip-starter-∂π
add akka.Main and use that to add Hello World docs
2013-05-02 04:28:27 -07:00
Roland
651f699893 add akka.Main and use that to add Hello World docs
- akka.Main will start an ActorSystem and one actor; when that actor
  terminates the system is shut down
- HelloWorld sample with two actors
2013-04-30 11:31:17 +02:00
Viktor Klang
7f84dbf448 #3080 - Including a timestamp in LogEvent and in the MDC 2013-04-29 15:29:40 -07:00
Björn Antonsson
9fd42c7cab Fail actor creation if mailbox doesn't conform to required type. See #3237 2013-04-26 09:31:23 +02:00
Roland Kuhn
9bdfb51f45 also fix java/io.rst link to EchoServer et al 2013-04-22 17:13:35 +03:00
Roland Kuhn
7870bf0cb0 Merge pull request #1353 from akka/wip-structure-docs-∂π
restructure ToC of reST docs
2013-04-19 05:14:52 -07:00
Björn Antonsson
bceef2648c Merge pull request #1343 from akka/wip-2687-per-actor-class-configurable-mailboxes-ban
Allow different types of mailboxes on the same dispatcher #2687
2013-04-19 04:49:40 -07:00
Björn Antonsson
c3eed374f1 Allow different types of mailboxes on the same dispatcher. See #2687 2013-04-19 13:42:58 +02:00
Roland
63c6bc7d88 restructure ToC of reST docs
- completely decouple Java/Scala and remove heading suffixes
- move all images into images/
- move cluster docs into “official” place
2013-04-19 13:40:37 +02:00
Roland
9ba8b115ec add SslTlsSupport (ported from spray-io), see #3236
- also added TcpPipelineHandler for wrapping a pipeline
- added Java & Scala docs with a complete example
- test verify interop with standard blocking java SSL client and server
- test is placed in akka-remote to benefit from AkkaProvider for
  SecureRandom; should be moved into akka-actor eventually
2013-04-19 12:01:35 +02:00
Roland
0e34edbcb3 implement ResumeWriting, see #3200
also included:
- a complete rewrite of the TCP docs based on real/tested/working code
  samples
- an EchoServer implementation which handles all the edge cases,
  available in Java & Scala
- renamed StopReading to SuspendReading to match up with ResumeReading
- addition of Inbox.watch()
- Inbox RST docs for Java(!) and Scala

not included:
- ScalaDoc / JavaDoc for all IO stuff
2013-04-18 15:05:48 +02:00
Patrik Nordwall
4606612bd1 Reliable remote supervision and death watch, see #2993
* RemoteWatcher that monitors node failures, with heartbeats
  and failure detector
* Move RemoteDeploymentWatcher from CARP to RARP
* ClusterRemoteWatcher that handles cluster nodes
* Update documentation
* UID in Heartbeat msg to be able to quarantine,
  actual implementation of quarantining will be implemented
  in ticket 2594
2013-04-17 19:42:51 +02:00
Roland Kuhn
57d71b0b44 Merge pull request #1336 from akka/wip-3081-PropsClosures-∂π
deprecate closure-taking Props factories, see #3081
2013-04-16 03:49:49 -07:00
Roland
28aad82b1a deprecate closure-taking Props factories, see #3081
- base Props on Deploy, Class and Seq[Any] (i.e. constructor args)
- remove deprecated Props usage from akka-docs sample code
- rewrite UntypedActorDocTestBase
- rewrite Java/Scala doc section on actor creation
- add migration guide entry
2013-04-16 12:48:31 +02:00
Roland
0e8b52d732 clean up DeathWatch semantics, see #3222
- DeathPactException => Stop in defaultStrategy
- ensure that after calling `context unwatch ref` we will not process a
  Terminated(`ref`) anymore, even if it was already enqueued (i.e.
  unwatch() happens between DeathWatchNotification and Terminated)
2013-04-16 11:17:48 +02:00
Viktor Klang
ad2e3c5e37 #3204 - Adding keypass to SSL configuration 2013-04-11 16:23:51 +02:00
Johannes Rudolph
5f58c54bdb add Tcp.register overload with keepOpenOnPeerClosed parameter for Java usage 2013-04-09 11:24:55 +02:00
Roland Kuhn
2375972969 Merge pull request #1291 from akka/wip-3174-pipelines-∂π
implement and document Pipelines, see #3174
2013-04-08 13:13:23 -07:00
Patrik Nordwall
52a6e6b23b Merge pull request #1312 from akka/wip-2734-router-termination-patriknw
Don't stop dynamic router when all routees terminated, see #2734
2013-04-08 12:37:16 -07:00
Patrik Nordwall
9f45dd90b7 Merge pull request #1304 from akka/wip-2839-dispatcher-deploy-config-patriknw
Add dispatcherId to deployment config, see #2839
2013-04-08 12:03:43 -07:00
Roland
d794b14b2b implement and document Pipelines, see #3174
- heavily inspired by spray.io.Pipeline
- fully functional style: a stage returns the resulting commands and
  events, which makes it impossible to mess with the pipeline from the
  inside
- object allocations are optimized away for emtpy and 1-elem results
- added type-safety, verifying that stages match up
- management commands “from the side” for configuration or async events
- full Java API and docs
2013-04-08 20:57:04 +02:00