Commit graph

1674 commits

Author SHA1 Message Date
Roland
ddf2117ed7 remove ActorRef#tell(Any), see #3293
also remove FakeActorRef from SerCompSpec
2013-05-03 21:39:29 +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
Heiko Seeberger
cb11b1025a Improve wording in 2.2 migration guide (closes #3284) 2013-04-29 12:16:27 +02: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
Valerian
62037757fa Fix links to EchoServer.scala 2013-04-22 00:33:04 +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
Patrik Nordwall
9e56ab6fe5 Disallow re-joining, see #2873
* Disallow join requests when already part of a cluster
* Remove wipe state when joining, since join can only be
  performed from empty state
* When trying to join, only accept gossip from that member
* Ignore gossips from unknown (and unreachable) members
* Make sure received gossip contains selfAddress
* Test join of fresh node with same host:port
* Remove JoinTwoClustersSpec
* Welcome message as reply to Join
* Retry unsucessful join request
* AddressUidExtension
* Uid in cluster Member identifier
  To be able to distinguish nodes with same host:port
  after restart.
* Ignore gossip with wrong uid
* Renamed Remove command to Shutdown
* Use uid in vclock identifier
* Update sample, Member apply is private
* Disabled config duration syntax and cleanup of io settings
* Update documentation
2013-04-17 16:48:18 +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 Kuhn
3f76e9298d Merge pull request #1335 from akka/wip-3222-DeathPact-∂π
clean up DeathWatch semantics, see #3222
2013-04-16 02:18:52 -07: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
Patrik Nordwall
089b25b3d4 Cluster client and receptionist, see #1165 2013-04-14 22:30:09 +02:00
Patrik Nordwall
1d1a6383df Distributed pub-sub in cluster, see #3203 2013-04-14 19:58:12 +02:00
Viktor Klang
ad2e3c5e37 #3204 - Adding keypass to SSL configuration 2013-04-11 16:23:51 +02:00
Viktor Klang (√)
2c4c5b0594 Merge pull request #1316 from akka/wip-3207-longer-timeout-in-futuredocspec-√
#3207 - prolonging the timeouts in FutureDocSpec to be less flaky when ...
2013-04-09 15:45:37 -07:00
Viktor Klang (√)
90dcb6545f Merge pull request #1322 from akka/wip-3206-add-expectTerminated-4-realz-√
#3206 - Adding expectTerminated to TestKit
2013-04-09 15:44:50 -07:00
Viktor Klang
e59394628c #3206 - Adding expectTerminated to TestKit 2013-04-09 14:48:17 +02:00
Johannes Rudolph
5f58c54bdb add Tcp.register overload with keepOpenOnPeerClosed parameter for Java usage 2013-04-09 11:24:55 +02:00
Johannes Rudolph
e532a77824 Tcp: hide support for half-closed connections behind Register.keepOpenOnPeerClosed 2013-04-09 11:24:55 +02:00
Viktor Klang
6222848c71 #3207 - prolonging the timeouts in FutureDocSpec to be less flaky when there's a GC pause 2013-04-09 10:39: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
Roland
d9d7d45ac2 add @throws annotation to actor life-cycle hooks, see #3188 2013-04-08 20:55:04 +02:00
Patrik Nordwall
c77cdeb86b Merge pull request #1277 from akka/wip-3074-deprecate-actorFor-patriknw
Deprecate actorFor in favor of ActorSelection, see #3074
2013-04-08 11:48:48 -07:00
Patrik Nordwall
887af975ae Deprecate actorFor in favor of ActorSelection, see #3074
* Deprecate all actorFor methods
* resolveActorRef in provider
* Identify auto receive message
* Support ActorPath in actorSelection
* Support remote actor selections
* Additional tests of actor selection
* Update tests (keep most actorFor tests)
* Update samples to use actorSelection
* Updates to documentation
* Migration guide, including motivation
2013-04-08 18:11:52 +02:00
Patrik Nordwall
accdd63e7d Don't stop dynamic router when all routees terminated, see #2734 2013-04-08 13:19:44 +02:00
Patrik Nordwall
9bf46e476c Cleanup of TestActorRef constructor, see #2728
* Don't expose internal classes in public constructor
2013-04-08 12:02:27 +02:00
Patrik Nordwall
ae0cb4a756 Add dispatcher to deployment config, see #2839 2013-04-08 09:52:56 +02:00
Roland Kuhn
90905907c5 clarify watch() idempotency (Java) 2013-04-06 22:32:05 +03:00
Roland Kuhn
cff43c34b0 clarify watch() idempotency (Scala) 2013-04-06 22:31:20 +03:00
Patrik Nordwall
1d8bdaddb5 Merge pull request #1293 from akka/wip-2774-old-migration-guide-patriknw
Link to old migration guides instead of embedding, see #2774
2013-04-04 04:01:30 -07:00
Roland
309f2c2f91 rename UdpFF->Udp and the other UdpConnected, see #3058 2013-04-04 09:04:30 +02:00
Viktor Klang (√)
0d510ff031 Merge pull request #1290 from akka/wip-3077-deprecate-isTerminated-√
#3077 - Deprecating ActorRef.isTerminated
2013-04-03 15:44:20 -07:00
Viktor Klang
7b263365aa #3077 - Deprecating ActorRef.isTerminated 2013-04-03 23:57:28 +02:00