Commit graph

117 commits

Author SHA1 Message Date
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
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
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
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
Viktor Klang (√)
641e499cc4 Merge pull request #1287 from akka/wip-2970-lightweight-ec-form-promiseactorref-√
#2970 - Removing scheduler and dispatcher from ARP and reimplementing P...
2013-04-03 11:23:54 -07:00
Viktor Klang
fcfe7b4617 #2970 - Removing scheduler and dispatcher from ARP and reimplementing PromiseActorRef to use an internal calling thread EC 2013-04-03 19:12:03 +02:00
Viktor Klang
6976317bc7 Merged with master 2013-04-03 16:21:22 +02:00
Björn Antonsson
a4ab7a9841 Cleaning up the ActorRef serialization according to review. See #3137 2013-04-03 10:49:38 +02:00
Björn Antonsson
33080a4155 Correctly serialize local actor refs from other actor systems. See #3137 2013-04-03 10:32:13 +02:00
Viktor Klang
c883705242 #3018 - Enabling -Xlint and dealing with the situation that occurs 2013-03-29 01:43:17 +01:00
Patrik Nordwall
118917d2be awaitCond = awaitCond with better error reporting, see #3168 2013-03-25 12:58:25 +01:00
Endre Sándor Varga
f8c3717ca1 Changed Failed to be a SystemMessage
- Moved system messages to their own package.
 - All queueing operations are now hidden behind a SystemMessageList value class
 - Introduced dual SystemMessageList types to encode the ordering in the type.
   - Protects against accidentally missed reverse calls or accidentally reversed lists
   - Makes ordering expectations by fields/parameters explicit
 - Fixed serialization tests
 - Fixes to logging in HierarchyStressSpec
2013-03-22 12:02:31 +01:00
Patrik Nordwall
b738487dc8 Add UID to RemoteActorRef, see #3072
* Sending to a previous incarnation of an actor shall fail,
  to make remote actors work the same way as local ones (in
  the sense that after Terminated() the ref is not working anymore)
* Changed equality of ActorRef to take the uid into account
* Parse uid fragment in RelativeActorPath and ActorPathExtractor
* Handle uid in getChild and in RemoteSystemDaemon
* Use toSerializationFormat and toSerializationFormatWithAddress
  in serialization
* Replaced var uid in ActorCell and ChildRestartStats with
  constructor parameters (path)
* Create the uid in one single place, in makeChild in parent
* Handle ActorRef with and without uid in DeathWatch
* Optimize ActorPath.toString and friends
* Update documentation and migration guide
2013-03-21 20:25:16 +01:00
Viktor Klang (√)
291f0d5c87 Merge pull request #1242 from drewhk/wip-3025-nodelay-default-drewhk
Set TCPNODELAY as default.
2013-03-15 04:18:11 -07:00
Endre Sándor Varga
7804df7743 Updated documentation 2013-03-15 11:08:42 +01:00
Patrik Nordwall
f4d59383d7 Log actor failures in supervisor, see #2824
* To make it possible to override with application
  specific logging, or mute logging for certain failures
* Changed log level of Resume failures to WARNING, which
  caused all the changes to the tests
2013-03-11 13:33:37 +01:00
Roland Kuhn
5b819f4784 Merge pull request #1213 from kevinwright/abstract-agent-3108
Made `Agent` an abstract trait
2013-03-06 06:26:32 -08:00
Patrik Nordwall
0e7063b4bf Adjust timing in FutureDocTestBase, see #3112
* Corresponding scala test uses the same value
2013-03-05 11:01:04 +01:00
Kevin Wright
f305ed72a8 Made Agent an abstract class, pushed existing implementation into a private SecretAgent class and added a java-lovin' factory method. See #3108 2013-02-28 23:14:46 +00:00
Roland Kuhn
fc180cde22 Merge pull request #1186 from akka/wip-2509-sender-preRestart-∂π
clarify `sender` in preRestart, see #2509
2013-02-22 07:52:51 -08:00
Patrik Nordwall
05edf22efd Merge pull request #1188 from akka/wip-2737-logging-intro-master-patriknw
Add logging intro, see #2737
2013-02-22 07:20:49 -08:00
Roland
d2ef2e208c document availability of sender in supervisorStrategy 2013-02-22 15:42:42 +01:00
Patrik Nordwall
31177a68a4 Add logging intro, see #2737
(cherry picked from commit 5fcde199d818e22e6dad4aa70f351a52cefe446f)

Conflicts:

	akka-docs/rst/java/logging.rst
	akka-docs/rst/scala/logging.rst
2013-02-22 15:16:53 +01:00
Roland
637e5c7863 clarify sender in preRestart, see #2509
also remove one warning about io-old.rst not being included in any
toctree
2013-02-22 14:47:51 +01:00
Endre Sándor Varga
7bf9f1f82b Added patterns for initialization for Scala #2297
(cherry-picked from e2aa3b5)
2013-02-22 14:13:32 +01:00
Björn Antonsson
ba957c8356 Change documentation to consistently use quotes for log levels. See #2965 2013-02-21 15:29:01 +01:00
Björn Antonsson
a94749d577 Add the LogLevel OFF that can be used to turn off logging. See #2965
Conflicts:
	akka-actor/src/main/scala/akka/actor/ActorRefProvider.scala
	akka-docs/rst/java/logging.rst
	akka-docs/rst/scala/logging.rst
2013-02-21 15:28:25 +01:00
Patrik Nordwall
dc9ac4dc57 Java docs and sample of durable mailbox, see #2761
* Added abstract class DurableMessageQueueWithSerialization
(cherry picked from commit 49720e8cd09243ffea9f02c245e0053c126bf555)
2013-02-20 12:52:28 +01:00
Rich Dougherty
65ef38d405 Merge pull request #1135 from akka/wip-3047-edit-io-docs-rich
Edit of I/O docs. Fixes #3047
2013-02-19 02:16:10 -08:00
Viktor Klang
334c9c6671 #2989 - Switching to mina2 for Camel examples 2013-02-18 13:43:09 +01:00
Rich Dougherty
3f31015091 Edit of I/O docs. Fixes #3047 2013-02-18 13:02:46 +13:00
Björn Antonsson
cd2b499b79 Java API for UdpConn 2013-02-15 13:11:35 +01:00
Roland
6d61a59a0f add INTERNAL API markers and explicit return types 2013-02-15 13:11:35 +01:00
Endre Sándor Varga
933c93c05b Added Java API for UdpFF 2013-02-15 13:11:35 +01:00
Roland
d71a541596 IO layer: add Java API and docs for TCP 2013-02-15 13:11:34 +01:00
Patrik Nordwall
6da6223e15 Merge pull request #1124 from akka/wip-3022-ssl-settings-patriknw
Restore ssl settings in reference.conf, see #3022
2013-02-13 07:59:15 -08:00
Rich Dougherty
b6c1527cbd Add receiveN to JavaTestKit. Fixes #3029 2013-02-13 15:30:15 +13:00
Rich Dougherty
44808c17ed Merge pull request #1095 from akka/wip-2874-router-doc-rich
Document router handling of PoisonPill messages. Fixes #2874
2013-02-12 16:31:04 -08:00
Rich Dougherty
3b98ba249b Improved router documentation. Fixes #2874
* Edit of basic usage and design.
  * Rearranged order of sections.
  * Added more information on special message types.
  * Added receiveN to JavaTestKit.
2013-02-12 12:25:41 +13:00
Patrik Nordwall
9ed701a75c Restore ssl settings in reference.conf, see #3022
* Cleanup and addition of configuration tests for remote settings
2013-02-11 14:45:00 +01:00