Commit graph

78 commits

Author SHA1 Message Date
Viktor Klang (√)
598799d5ae =str - Improves performance of mapAsync
* Removes allocations

* Removes indirections & shortens code paths
2016-04-04 13:11:22 +02:00
Evgeny Vanslov
f42ab58b05 Replaced PushStage based TakeWhile with GraphStage #19834 2016-04-01 11:34:30 +03:00
Alexander Golubev
69e6052cbe +str #18620 add Source.blocking() for legacy API integration 2016-03-31 10:29:48 -04:00
Alexander Golubev
951afec88e =str 19834 Migrating PushStages to GraphStage
Collect, DropWhile, LimitWeighted
2016-03-22 10:44:27 -04:00
Tapio Rautonen
1bcc1310d2 Replaced PushStage based Take with GraphStage #19834
Changes suggested by @viktorklang

Added take to binary compatibility exclude

Cleanup
2016-03-18 21:35:05 +02:00
Tapio Rautonen
7856916e4d Replaced PushStage based Drop with GraphStage #19834 2016-02-26 21:14:33 +02:00
Johannes Rudolph
b6cbc7f13a =all remove unused imports 2016-02-23 20:29:22 +01:00
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
Alexander Golubev
2a36859578 =str #19423 add satefulMapConcat 2016-02-11 22:57:50 -05:00
Alexander Golubev
5a8f4135b7 +str #18045 add recoverWith(Source) 2016-02-11 10:36:40 -05:00
Roland Kuhn
c136c06f76 Merge pull request #19703 from akka/wip-19702-maxFixedBufferSize-RK
add maxFixedBufferSize materializer setting #19702
2016-02-11 08:41:29 +01:00
Roland Kuhn
d0e6f46f14 add maxFixedBufferSize materializer setting #19702 2016-02-10 20:55:50 +01:00
Johan Andrén
f042204d8b Merge pull request #19711 from johanandren/wip-19710-scala-types-attributes-java-api-johanandren
!str #19710 Use Java types in Attributes Java API
2016-02-10 13:15:14 +01:00
Johan Andrén
300ac802a0 =str #19721 Failing FlowConflateSpec and NPE in Batch fixed 2016-02-09 17:36:20 +01:00
Johan Andrén
0919889e74 !str #19710 Use Java types in Attributes Java API 2016-02-08 18:58:00 +01:00
Johan Andrén
db0274d3d6 =str #19552 Replacing Conflate with Batch 2016-02-05 10:10:24 +01:00
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
ba14bb4f3f Merge pull request #19489 from agolubev/agolubev-#18890_polish-Source.queue
Agolubev #18890 polish source.queue
2016-01-22 08:39:53 +01:00
Alexander Golubev
a2ab7f29e1 +str #19020 reduce combinator 2016-01-21 22:16:37 -05:00
Alexander Golubev
d5f81e19d1 =str #18890 Polish Source.queue 2016-01-21 13:09:55 -05:00
Gilad Hoch
7e488001cc +str #16610 minor fixes 2016-01-21 09:02:35 +02:00
Gilad Hoch
fde0c11fff +str #16610 added javadsl tests + conflate now delegates to Batch + most of the changes @drewhk & @rkuhn suggested 2016-01-21 08:44:31 +02:00
Gilad Hoch
b420d6a472 +str #16610 applied the changes suggested by @drewhk 2016-01-21 08:44:30 +02:00
Gilad Hoch
d690067fc9 +str #16610 adding aggregate & aggregateWeighted ops 2016-01-21 08:44:30 +02:00
Roland Kuhn
7463c50fc9 #19444 simplify signature of FlowOps.expand
Any previous usage can be represented in this fashion while typically
saving one function allocation and also saving the function literal’s
syntax overhead (for the seed). Plus a new feature: the provided
iterator does not have to be infinite, limiting how far expand is
allowed to go.
2016-01-20 09:27:45 +01:00
Konrad Malawski
96b5ca2a0a +htc add BiDiFlow.identity in JavaDSL 2016-01-20 00:50:39 +01:00
Viktor Klang
58510a2b3f Minor streams touchups 2016-01-19 16:14:34 +01:00
Roland Kuhn
469e15581f fusable SplitWhen and reusable HTTP blueprint
plus further optimizations

Lots of contributions from drewhk (Endre Varga).
2015-12-21 12:28:21 +01:00
lolski
aadaf15b89 #18021 Sink.seq and FlowOps.limit and .limitWeighted 2015-12-20 11:00:06 +01:00
Roland Kuhn
a20bbce433 add fusing 2015-12-15 09:24:52 +01:00
Roland Kuhn
1c18eafcbe Merge pull request #19153 from akka/wip-19149-fix-flowOps-sliding-√
=str - 19149 - Corrects the behavior of FlowOps.sliding
2015-12-13 16:45:59 +01:00
Viktor Klang
108f6749de =str - 19149 - Corrects the behavior of FlowOps.sliding
Generatively attempts to verify that it behaves exactly like the
collections library

Removes the use of Vector.builder for an easier-to-follow Vector
implementation while waiting for this to be reimplemented as a
GraphStage.

Also, the Builder implementation relies on undefined behavior:

"Builder.result() — Produces a collection from the added elements.
The builder's contents are undefined after this operation." -
http://www.scala-lang.org/api/current/#scala.collection.mutable.Builder
2015-12-12 20:20:16 +01:00
Roland Kuhn
8e62368afe Merge branch 'release-2.3-dev' of github.com:akka/akka into release-2.3-dev 2015-12-12 16:59:53 +01:00
Roland Kuhn
819c1ef504 Merge remote-tracking branch 'pr/18985' into release-2.3-dev 2015-12-12 16:59:05 +01:00
lolski
3152a6d15f fixed typo call to emitMultiple 2015-12-09 01:26:42 +08:00
lolski
fca478c763 code restructure to enhance readability 2015-12-09 01:21:59 +08:00
lolski
e253593535 working GraphStage-based intersperse implementation 2015-12-09 01:21:59 +08:00
lolski
0d04d3bf5c WIP - Base intersperse on GraphStage instead of StatefulStage. TODO: handle logic to add last element 2015-12-09 01:21:59 +08:00
Viktor Klang
8b0b63625e =str - 19082 - Moves the allow var into the Logic of DropWithin 2015-12-07 12:41:38 +01:00
Alexander Golubev
5aa83594fa +str #18556 add delay combinator 2015-12-02 14:58:30 -05:00
Alexander Golubev
d5cae10a67 +str #18556 add delay combinator 2015-11-27 15:46:35 -05:00
Alexander Golubev
83d3143236 +str #18556 add delay combinator 2015-11-26 15:58:38 -05:00
Alexander Golubev
270ef41359 =str #18556 add delay combinator 2015-11-21 13:48:10 -05:00
Alexander Golubev
7a78160c26 =str #18037 FlowOps.log exception handler does not follow supervision strategy 2015-11-02 09:37:39 -05:00
Roland Kuhn
556012b7ee !str,htc replace and remove OneBoundedInterpreter
main work by @drewhk with contributions from @2m and @rkuhn

This work uncovered many well-hidden bugs in existing Stages, in
particular StatefulStage. These were hidden by the behavior of
OneBoundedInterpreter that normally behaves more orderly than it
guarantees in general, especially with respect to the timeliness of
delivery of upstream termination signals; the bugs were then that
internal state was not flushed when onComplete arrived “too early”.
2015-11-01 14:53:52 +01:00
Roland Kuhn
02810cfa64 !str,htc remove FlexiMerge/Route
- replace all occurrences with equivalent GraphStage implementations

This commit introduces a mini-DSL for GraphStage that allows emitting or
reading multiple elements to/from a port with one statement, installing
stateful handlers on the port to make it work. The emitting side allows
stacked continuations, meaning that while an emit() is ongoing (waiting
for demand) another one can be added to the queue; this allows
convenient formualation of merge-type stages.
2015-10-21 18:52:16 +02:00
Konrad Malawski
61c2213e02 +str #17383 implement intersperse 2015-10-19 13:17:23 +02:00
Endre Sándor Varga
f4b614a186 =str: Optmizing GraphInterpreter 2015-10-01 16:16:42 +02:00
Endre Sándor Varga
12c9abb8c9 !str #16410 #16597: Removed TimerTransform, added Timeout stages 2015-09-18 12:38:36 +02:00
Endre Sándor Varga
071f3c183f =str #18091: Take should eagerly complete if arguments are zero or less 2015-09-02 13:23:32 +02:00