Commit graph

125 commits

Author SHA1 Message Date
kerr
bdc90052aa Update headers from 2018 to 2019 once for all. (#26165)
* Add CopyrightHeader support for sbt-boilerplate plugin.
* Add CopyrightHeader support for `*.proto` files.
* Add regex match for both `–` and `-` for CopyrightHeader.
* Add CopyrightHeader support for sbt build files.
* Update copyright from 2018 to 2019.
2019-01-02 11:55:26 +01:00
Helena Edelson
8a44fca087
Typed Distributed Data requires untyped Cluster #25746 (#26074)
Typed Distributed Data requires untyped Cluster [#25746](https://github.com/akka/akka/issues/25746)
2018-12-14 15:53:08 -05:00
Patrik Nordwall
b04accefa0
Merge pull request #25833 from akka/wip-getting-started-typed-patriknw
Translate Getting Started Guide to Typed, #25998
2018-12-06 15:45:17 +01:00
kerr
b7f3cbef94 Merge PatternsCS to Patterns (#26008)
* !act Move some Java API methods from PatternsCS to Patterns.

* Deprecate PatternCS and in favor of Patterns.
2018-12-06 15:40:43 +01:00
Patrik Nordwall
76276e6504 Translate Getting Started Guide to Typed, #25998
* convert example code
* update doc content
* update diagrams
* rewrite parental supervison part
2018-12-06 15:29:39 +01:00
Oliver Burkhalter
40483a2506 Improve Getting Started Guide Part 3 for writing a first Actor test #25193 2018-11-15 12:55:29 +01:00
kerr
e847ce016a +act add getEventStream to ActorSystem #25870 2018-11-09 12:29:05 +01:00
kerr
fafc59b19d update headers to regular comment (#25807) 2018-10-29 05:19:37 -04:00
mohammad mehdi
ba996f8c5f example for some sink operators #25468
Examples for takeLast, last and lastOption operators
2018-10-25 09:40:36 -04:00
Saleh Khazaei
91b0c387be Add examples for Fan-in operators #25468 2018-10-25 09:37:48 -04:00
Patrik Nordwall
d71ba251ed make java sample code independent of Scala (#25800)
* need this for gathering and compiling java sources (in IDE),
  https://github.com/patriknw/akka-compile-ide-java
2018-10-16 13:52:54 +01:00
Patrik Nordwall
b89a7e5df5 Use Props factory methods in getting started tutorial (#25713)
* Use Props factory methods in getting started tutorial

* deprecate Props.create without actorClass parameter, #25718
2018-10-15 17:12:41 +01:00
mohammad mehdi
918cb72594 example for reduce operator #25468 2018-10-08 16:15:33 +02:00
Saleh Khazaei
68e382c7f9 Add examples for zipWithIndex #25468 (#25661)
* Add examples for zipWithIndex #25468

* better examples
2018-10-02 16:56:26 +02:00
Tzu-Chiao Yeh
f06595dd5d Add and reuse example for FileIO stream operator. (#25660) 2018-09-24 17:50:27 +02:00
Konrad `ktoso` Malawski
bf3c11464e
add usage examples for conflate / conflate with seed (#25498)
* +doc conflate and conflateWithSeed docs examples

* fixes

* show throttle in the example so its more obvious that "slow upstream" etc
2018-09-20 16:22:11 +09:00
Richard S. Imaoka
5dd487311d Add more description about ClusterEvent.InitialStateAsSnapshot (Closes #25172) 2018-09-18 14:56:26 +09:00
Christopher Batey
8ba4de386f
Document async and inetaddress DNS (#25414)
* Document async and inetaddress DNS

Closes #25307
2018-09-17 08:11:34 +01:00
Gabriel
a679f6f59e Add method foreachAsync to Sink object 2018-09-14 11:42:29 -03:00
Johan Andrén
8294f6262c
Merge pull request #25401 from richardimaoka/doc-23948-futures-pipeto-richard
Add the pipe pattern section
2018-09-03 12:13:12 +02:00
Patrik Nordwall
d5b2aea176
Merge pull request #25035 from piotrromanski/wip-fix-math-abs-usage
Handle a negative value returned by Math.abs()
2018-08-27 16:29:32 +02:00
Richard Imaoka
75723dcf4f Correct timeout 2018-08-25 09:26:43 +09:00
Richard Imaoka
c12eb92e55 Formatting, and use java.time.Duration 2018-08-23 23:40:16 +09:00
Guy Youansi
eb5885e94e add java.time.Duration support for javadsl #24646
* add java.time.Duration support for askWithReplyto methods and add deprecated to method with akka Timeout as parameter type
2018-08-23 12:09:21 +02:00
Patrik Nordwall
8309dc9b45
Merge pull request #25389 from chbatey/nit-1
Remove use of deprecated methods in java docs
2018-08-23 11:26:39 +02:00
Kazuhiro Sera
482eaea122 Fix several minor typos detected by github.com/client9/misspell (#25448)
* Fix several minor typos detected by github.com/client9/misspell

* Revert s/erminater/erminator/ in /ActorSystemSpec
2018-08-21 11:02:37 +09:00
Nathan Brown
61f844471b Correct parameter order in FSM transition-syntax example (#25439)
To match example and Scala version.
2018-08-20 16:34:35 +02:00
Justin Pihony
b1904325ca Add ClusterSingleton supervision documentation (#25419)
* Add ClusterSingleton supervision documentation

* Make example code compilable

* Changed snip per comment

* Back to double snip
2018-08-08 16:24:48 +09:00
Richard Imaoka
52864ffb28 Add the pipe pattern section (#23948) 2018-07-28 23:57:15 +09:00
David Mischke
2737caf8fb use correct Source import 2018-07-27 17:51:00 +02:00
Christopher Batey
8476a90d1f Remove use of deprecated methods in java docs 2018-07-25 09:50:19 +01:00
David Mischke
f94733acc6 addressing review comments #24933 2018-07-23 13:07:32 +02:00
David Mischke
9885a56f17 Merge branch 'master' of https://github.com/akka/akka into document-stream-source-range-operator 2018-07-21 14:16:58 +02:00
David Mischke
80c0596733 improve Source.range docs #24933 2018-07-21 14:09:32 +02:00
Roman Filonenko
4a8368bfe0 remove unreferenced akka-docs/src/test/*/tutorial_6 (#25363) (#25364) 2018-07-19 15:22:10 +09:00
Chang Liu
862a66ecc7 Add docs and example for akka-stream operator from (#24933) (#25372)
* Add docs and example for akka-stream operator from (#24933)

* add seperate test class for code example of akka-stream from

* add copyright header
2018-07-19 13:38:47 +09:00
Mikko Östlund
46b433b47d Align Java sample DeviceGroupQueryTest with the Scala one #25278 2018-07-03 17:39:12 +02:00
Patrik Nordwall
02f6899952 example for Streams log operator (#25283)
* and added all log levels in Attributes for convenient single access point
2018-06-30 12:10:10 +09:00
Guy Youansi
a4951e0ce7 Java time duration support for javadsl #24646
java.time.Duration support in all jdocs java file, the persistence module and the distributed-data
2018-06-26 15:41:30 +02:00
Jimin Hsieh
7c3a8a8ed5 java.time.Duration APIs in javadsl.TestKit #24646 2018-05-29 12:17:48 +02:00
Richard Imaoka
a17a61557c doc Replace the word stage by operator in stream doc (#25138) 2018-05-29 10:00:48 +02:00
Konrad `ktoso` Malawski
de04758bb8 more docs for Sink.queue and actorRefWithAck (#25063) 2018-05-22 11:27:54 +02:00
Arnout Engelen
9869c2355e
Fix Java Doc test for actorRefWithAck (#25079) 2018-05-15 11:52:07 +02:00
Johan Andrén
09025092ae Remove words such as simply and obviously from docs (#25095)
* One does not "simply"

* It's not obvious

* It's not really _that_ easily done

* Basically is basically a useless word

* Of course - if you already know how things work you wouldn't be reading the docs

* Clearly is maybe not so clear for everyone

* Just was just a bit harder as there are some uses that are just
2018-05-15 07:11:03 +01:00
Guy Youansi
759010f0cd +act add java.time.Duration support Actor javadsl (#24993)
* add java support in akka-actor module in the class Abstract.ActorContext by adding the setReceiveTimeout and CancelReceiveTimeout

* add akka.actor.AbstractActor#ActorContext cancelReceiveTimeout and setReceiveTimeout to mima-excludes file

* removed scala.concurrent.duration dependency in ActorDocTest and add new method expectTerminated with java.time.Duration support in TestKit

* used java.time.Duration as default import
2018-05-14 17:22:02 +09:00
promanski
05282b59c9 Handle a negative value returned by Math.abs() #25034 2018-05-05 13:49:20 +02:00
Konrad `ktoso` Malawski
d870d37bb3 =doc missing ACK reply in doc example (#24997) 2018-04-30 14:12:04 +02:00
Richard Imaoka
e343222505 Sample code for joinSeedNodes programatically #24041 2018-04-30 10:21:35 +02:00
Konrad `ktoso` Malawski
046b88ce90
+doc Add examples to Sink.actorRefWithAck (#24854) 2018-04-12 22:06:37 +09:00
Patrik Nordwall
6a9fa1946d
Add java.time.Duration support in the JavaDSL in akka-actor module #24646 (#24883)
* Add java.time.Duration support in the JavaDSL in akka-actor module #24646
* add deprecation and change retry
2018-04-11 16:47:36 +02:00