Commit graph

22207 commits

Author SHA1 Message Date
Stefano Bonetti
db057df5d9 =str #25091 javadsl ZipWithIndex to return java.lang.Long 2018-05-14 15:22:35 +02:00
zmarois
7591571372 Reducing log level of restarting to WARN #25019 (#25023) 2018-05-14 10:48:48 +02: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
Song Kun
55fb092bb2 Add convenient version of recover, recoverWith and recoverWithRetries for javadsl.Flow (#25036)
* Add more convenient version of recover, recoverWith and recoverWithRetries for javadsl.Flow.

* The new method take a Class parameter to decide which failure to recover from.
* Also add corresponding unit tests for them.

* use case expression to express partial function

* make time out larger in unit test

* checkstyle

* fix parameter type
2018-05-13 19:15:00 +02:00
Arnout Engelen
254914c1ad Update akka-paradox (#25077) 2018-05-11 10:31:33 +02:00
Michał Gutowski
b9cc7bcb7d Fix java documenation of QueueOfferResult.Dropped (#25080) 2018-05-11 10:24:50 +02:00
Patrik Nordwall
4095aa248b
Merge pull request #24884 from akka/wip-TransportFailSpec-patriknw
harden TransportFailSpec
2018-05-11 08:12:59 +02:00
Song Kun
f976f8d793 Add unit tests and polish Javadocs with lambdas for PatternsCS. #24881 (#24998)
* Add unit tests and polish Javadocs with lambdas for PatternsCS. #24881

* remove blocking from StopActor
2018-05-10 14:32:28 +02:00
Konrad `ktoso` Malawski
7fa28b3488
consistent wording; stream ops are "operators" (#25064) 2018-05-09 16:50:32 +02:00
Patrik Nordwall
d2f2d50b6b
Merge pull request #25052 from scoquelin/await-assert-with-java-time-duration
[TestKit] Added missing awaitAssert methods with max timeout/interval as a java.time.Duration
2018-05-08 17:03:55 +02:00
Arnout Engelen
99b1b18b57 Make KillSwitch documentation more accurate (#25066) 2018-05-08 16:30:01 +02:00
Christopher Batey
69a8a77949
Remove test reliance on application.conf (#25027) 2018-05-08 10:33:36 +01:00
Johan Andrén
9b7c2a8cb4 UnfoldResourceSource closing twice on failure, #24924
* Don't write to actual disk in test

* Silence expected log errors

* Bugfix #24924 UnfoldResource closed resource twice on failure

* One more case where close would be called twice

* Toggle closed flag after operation in restartState

* open false _before_ closing in restartState
2018-05-07 17:00:46 +02:00
Patrik Nordwall
969cdb873a
Merge pull request #25020 from chbatey/upgrade-aeron
Upgrade Aeron and make use of channelStatus on subscription
2018-05-07 16:56:03 +02:00
Sebastien Coquelin
e5cdf9824c Introduced new awaitAssert methods accepting java.time.Duration parameters 2018-05-07 10:47:06 -04:00
Patrik Nordwall
178ba1f438
Merge pull request #24987 from satansk/patch-2
=doc using PatternsCS.retry in java docs
2018-05-07 16:08:06 +02:00
Konrad `ktoso` Malawski
256f81f97e
Akka Typed ask() for Akka Streams (#24892)
* +str,typ introduce akka typed ask for akka stream

address feedback and add actor interop stages incl ask to docs

more compile tests and adjusted things

last docs

* document adding stages to docs in CONTRIBUTING

* address review comments

* rebase conflicts
2018-05-07 19:23:30 +09:00
Johan Andrén
ae20ecaf99 Update paradox theme version (#25056) 2018-05-07 18:29:32 +09:00
Christopher Batey
6674599e50 Add gradle to all dependency doc sections (#25031) 2018-05-07 09:31:09 +02:00
nodefactory-bk
b62386c495 Fix for java8144+ sni changes. (#23878) 2018-05-07 11:52:45 +09:00
jorgesg1986
1b83e339f4 Removed not used UntypedPropsBehavior (#25054)
Removed unnecessary pattern matching
2018-05-07 11:15:52 +09:00
Song Kun
e8a955cdef Define ! and ? in EntityRef. ticket #24922 2018-05-04 15:17:17 +02:00
Patrik Nordwall
216025b03f
Merge pull request #25048 from chbatey/cluster-down-doc
Note what happens if a node sees its self as Down
2018-05-03 13:54:07 +02:00
Oleksii Tkachuk
8af12295eb Issue 24687: Transfer of PerformanceSpec 2018-05-03 13:30:00 +02:00
Johan Andrén
dfd8d8aa81
Additional tests for async boundaries and GroupBy #24676 2018-05-03 13:24:51 +02:00
Patrik Nordwall
d08f31bcdb
Merge pull request #24984 from markusthoemmes/allow-groupby-substream-recreate
Allow `groupBy` to recreate already closed substreams #24758
2018-05-03 12:28:19 +02:00
Christopher Batey
2a88452838 Note what happens if a node sees its self as Down 2018-05-03 11:24:46 +01:00
Patrik Nordwall
74eb7999d8
Merge pull request #24958 from akka/wip-typed-extension-setup-patriknw
Possibility to replace Typed extensions via ActorSystemSetup, #24954
2018-05-03 11:04:32 +02:00
Markus Thömmes
35e53f570c Allow groupBy to recreate already closed substreams #24758
`groupBy`'s default behavior is to filter elements, that would go to a substream
that is already closed. This allows `groupBy` to recreate those already closed streams,
if wanted, and run them as if they would've never run before in the first place.

Overload instead of default parameter

Make set of closed keys unmodifiable if not needed

Adjust documentation, adding a warning on memory consumption.

Add MiMa exclude.
2018-05-03 10:54:11 +02:00
Reza Rasouli
89b3820673 Documentation of wrapping PersistentBehavior in typed actor persistence #24679 (#24942)
* Documented wrapping PersistentBehavior in typed actors persistence documentation #24679

* Removed "Current Limitations" section
* Added description on wrapping PersistentBehavior
* Added Scala and Java example for the pattern

* updated persistence docs for the hinted changes

* added  missing "the" as requested in the  hint
2018-05-03 10:20:37 +02:00
Patrik Nordwall
1d3ce1734b
First JCTools mailbox benchmark, #25044 2018-05-03 10:16:56 +02:00
Viktor Klang
3ee28a2e43 prove that it is possible to integrate JCTools for mailboxes
* enable JCToolsMailbox in benchmarks
2018-05-02 20:48:11 +02:00
Patrik Nordwall
948017544c
Merge pull request #25017 from chbatey/issue-24636
Note that Aeron is only supported on Linux, Windows and Mac
2018-05-02 20:20:01 +02:00
Arnout Engelen
1fdf35b754
Add scaladex badge with the latest version (#25032) 2018-05-02 17:26:03 +02:00
Patrik Nordwall
e10f30d252
Merge pull request #25029 from chbatey/issue-25028
Disable TlsTcpWithActorSystemSetupSpec when not running tcp-tls tests
2018-05-02 15:35:40 +02:00
Dan Rivett
1cb1b68a11 Fixing documentation typo: loosing -> losing (#25037) 2018-05-02 07:11:52 +01:00
anilkumarmyla
1ca612985e Fix doc - use new markdown directive for dependency (#24811) 2018-05-01 10:25:31 +01:00
Christopher Batey
c0f18c96d3 Disable TlsTcpWithActorSystemSetupSpec when not running tcp-tls tests 2018-05-01 09:49:51 +01:00
Christopher Batey
945440a38d
Revert "Look for perf-java-flames on path in MultiJVM perf support" (#25022)
* Revert "Look for perf-java-flames on path in MultiJVM perf support (#25003)"

This reverts commit 3e11092388.
2018-04-30 14:58:33 +01:00
Christopher Batey
0d9aa17fef Upgrade Aeron and make use of channelStatus on subscription 2018-04-30 14:39:06 +01:00
Konrad `ktoso` Malawski
d870d37bb3 =doc missing ACK reply in doc example (#24997) 2018-04-30 14:12:04 +02:00
Christopher Batey
3e11092388
Look for perf-java-flames on path in MultiJVM perf support (#25003) 2018-04-30 11:17:48 +01:00
Christopher Batey
ed06f7ad2f =doc Note that Aeron is only supported on Linux, Windows and Mac 2018-04-30 11:13:58 +01:00
Christopher Batey
188b74a013 Remove application.conf from typed test projects (#25015)
It breaks assembly for multi-jvm jobs. Only needs to be in
the tests project.
2018-04-30 10:58:35 +02:00
Song Kun
94f4905440 =doc fix the dead link for Failure Detector (#25002)
The link for The Phi Accrual Failure Detector is unavaliable.
2018-04-30 10:44:56 +02:00
Patrik Nordwall
27e9587a3b Configurable SSLEngineProvider in classic remoting, #23732 2018-04-30 10:24:34 +02:00
Richard Imaoka
e343222505 Sample code for joinSeedNodes programatically #24041 2018-04-30 10:21:35 +02:00
Christopher Batey
a9be6ea1d2 Remove erroneous in distributed data doc (#24999) 2018-04-30 09:59:13 +02:00
Christopher Batey
96b285edd4 Upgrade to Scala 2.12.6 (#25001) 2018-04-30 09:49:50 +02:00
Roland Kuhn
0dab3eba92 add BehaviorTestKit.runOne and .ref (#25013) 2018-04-30 09:17:12 +02:00