Prayag Verma
b7783968a0
=pro #19068 All copyrights ranges and single years updated to a range ending in 2016
2016-01-25 10:20:30 +01:00
Roland Kuhn
e5baba2b29
squash some warnings
2016-01-20 11:54:24 +01:00
Roland Kuhn
3140e72265
#19046 replace system.{shutdown => terminate}
2016-01-20 11:50:43 +01:00
Konrad Malawski
f46f9edb17
=doc fix github link as in #19434
2016-01-14 13:13:02 +01:00
Konrad Malawski
5a18d43435
+doc #19429 initial merge of docs-dev and docs
2016-01-14 00:31:03 +01:00
Johan Andrén
996ad35495
=doc #18226 document actor stopping
2015-09-08 11:14:18 +02:00
Patrik Nordwall
ef387af2fc
=doc #16910 Fix include sections in fault tolerance docs
...
* and don't show AkkaSpec in doc code
(cherry picked from commit 23be60395cdea846ef168960cd05e88c6bd29556)
Conflicts:
akka-docs/rst/scala/code/docs/actor/FaultHandlingDocSpec.scala
akka-docs/rst/scala/fault-tolerance.rst
2015-04-01 10:50:30 +02:00
Julian Tescher
00f6a58e7c
Changes all occurances of Typesafe copyright to extend to 2015
2015-03-10 14:12:19 -07:00
Nikita Melkozerov
a8632befc6
=doc #16614 Include best-practice tip on messages in companion object in docs
2015-01-23 22:40:55 +05:00
Viktor Klang
cd8e97c060
+act - 15757 - Reworks implementation of ActorSystem shutdown
...
* deprecates awaitTermination, shutdown and isTerminated
* introduces a terminate-method that returns a Future[Unit]
* introduces a whenTerminated-method that returns a Future[Unit]
* simplifies the implementation by removing blocking constructs
* adds tests for terminate() and whenTerminated
2014-08-25 15:49:28 +02:00
Konrad 'ktoso' Malawski
ba2411833a
+doc #15537 add Typed router pattern
...
Conflicts:
akka-docs/rst/scala/code/docs/persistence/PersistenceDocSpec.scala
2014-07-15 10:22:23 +02:00
Patrik Nordwall
3a94510869
+act #15284 Add throws TimeoutException to Inbox.receive
...
(cherry picked from commit ab19cc8a527f1a01a8180c2b199affcb47e5b1d2)
2014-06-27 12:29:11 +02:00
Björn Antonsson
ba7247b240
+act #3911 Adding Java Lambda compatibility for Supervisor Strategy
...
Conflicts:
akka-actor/src/main/scala/akka/util/Timeout.scala
2014-03-17 15:04:29 +01:00
Patrik Nordwall
7d40ca1840
!act #3920 Remove UntypedActorFactory
2014-03-14 14:15:49 +01:00
Björn Antonsson
0dcb6d6654
!act,doc #3831 Adding more Java with Lambda documentation and support
...
* The Java with Lambda support documentation for AbstractActor and AbstractFSM are now on par with Scala
* Many small fixes and additions of missing things
* Added an AbstractActorContext that has convenience functions for getChild and getChildren
2014-03-03 10:18:58 +01:00
Adam Voss
cce29dfa51
Changes all occurances of Typesafe copyright to extend to 2014.
2014-02-04 21:20:09 -06:00
Patrik Nordwall
d506f6df4f
+act #3513 Clarify gracefulStop stopMessage, and add Java API
2014-01-21 17:15:09 +01:00
Roland Kuhn
5bcb750441
!act,doc,rem,tes 3823 remove deprecated Props methods
...
- rewrite deprecated usages to their recommended counterparts
- TestActorRef now verifies mailbox requirements
- CallingThreadMailbox now exposes proper messageQueue type for
inspection
2014-01-17 09:12:44 +01:00
Patrik Nordwall
4bd1586b1e
=dur #3664 Deprecate durable mailboxes
2013-12-13 07:38:15 +01:00
Patrik Nordwall
362074177a
=doc #3689 Make activator template for akka.Main
2013-12-12 16:03:02 +01:00
Roland Kuhn
c7ac860dbc
=doc fix misleading Recommended Practices
...
also rename recommended static method from mkProps to props for Java
2013-11-27 10:57:43 +01:00
Roland Kuhn
a2a646af4e
add ActorRef.noSender() for the Java API, see #3429
...
- Actor.noSender is not accessible from Java, but it was in 2.1 so don’t
remove
- replaced all “null” in doc tests with ActorRef.noSender()
2013-06-20 15:51:23 +02:00
Patrik Nordwall
95366cb585
Wrap long lines, for pdf
2013-05-30 14:45:15 +02:00
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
Björn Antonsson
9c5cc24ba7
Some more test cleanup to not create so many threads. See #3320
2013-05-08 12:42:15 +02:00
Björn Antonsson
e00ab533bb
Wait on shutdown of extra actor systems in tests. See #3217
2013-05-07 11:02:03 +02: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
Björn Antonsson
c3eed374f1
Allow different types of mailboxes on the same dispatcher. See #2687
2013-04-19 13:42:58 +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
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
d9d7d45ac2
add @throws annotation to actor life-cycle hooks, see #3188
2013-04-08 20:55:04 +02: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
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
Endre Sándor Varga
7bf9f1f82b
Added patterns for initialization for Scala #2297
...
(cherry-picked from e2aa3b5)
2013-02-22 14:13:32 +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
Roland Kuhn
7066b37077
Merge pull request #1027 from akka/wip-2904-timer-∂π
...
first cut of new AkkaTimer, see #2904
2013-01-23 11:06:41 -08:00
Roland
8dea20a1f1
LightArrayRevolverScheduler, see #2904
...
- based on a wheel (AtomicReferenceArray) from which atomic
single-linked lists dangle
- no locks
- deterministic tests due to overridable time source
- also bring docs up to date
2013-01-23 19:57:44 +01:00
Viktor Klang
adfeb2c1f0
#2879 - updating copyright info
2013-01-09 11:38:00 +01:00
Viktor Klang
978c86339f
#2721 - Adding implicit sender to Scheduler + tests
2012-12-18 10:25:48 +01:00
Viktor Klang
b00c47854b
Switching over to immutable.Iterable where possible
2012-11-14 16:24:25 +01:00
Viktor Klang
8f131c680f
Switching to immutable.Seq instead of Seq
2012-11-12 14:17:47 +01:00
Roland Kuhn
666d79680d
Merge pull request #851 from akka/wip-2642-Java-stash-∂π
...
change Java stash sample to become(), see #2642
2012-11-06 03:06:53 -08:00
Roland
657a24dbc8
change Java stash sample to become(), see #2642
2012-11-06 11:41:50 +01:00
Roland
f9eb59e883
better document become semantics, see #2683
2012-11-06 11:00:27 +01:00
Roland
6792d11b36
Patrik’s comments: change CircuitBreaker to Runnable
...
was using Callable for no apparent reason; also fix
FaultHandlingDocTestBase.java
2012-10-16 14:38:23 +02:00
Roland
bff79c2f94
Merge remote-tracking branch 'origin/master' into wip-2.10.0-RC1-∂π
...
- currently cheating: uses zeroMQ artifacts for scala 2.10M7
- fixed a bunch of more wrong references to scala.concurrent.util
2012-10-15 16:18:52 +02:00
Viktor Klang
dbad8c85f6
Clarifying setReceiveTimeout examples after review
2012-10-15 13:49:12 +02:00
Viktor Klang
0ab417b2c1
#2612 - Clarifying ReceiveTimeout semantics in the documentation.
2012-10-14 03:35:09 +02:00
Björn Antonsson
0988101881
Fixes according to review. #2413
2012-10-02 10:21:46 +02:00
Björn Antonsson
309bb53d98
Reformating configuration and examples for PDF (Java). See #2413
2012-10-01 20:35:46 +02:00