Commit graph

131 commits

Author SHA1 Message Date
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
Alexander Golubev
15cabbfed7 +str #17967 add filterNot combinator 2015-10-26 22:48:13 -04:00
Viktor Klang
f29d7affbd !str #18692 javadsl.FlowGraph.Builder.add()
* also make factories more consistent by only offering
  FlowGraph.create()
* also remove secondary (edge-based) FlowGraph.Builder DSL
* also improve naming for conversions from Graph to
  Source/Flow/BidiFlow/Sink
2015-10-22 19:10:00 +02:00
Konrad Malawski
61c2213e02 +str #17383 implement intersperse 2015-10-19 13:17:23 +02:00
Viktor Klang
08d702faf8 =str - #17827 - Introduces operator for Sources and Flows, to attach a Sink in an inline broadcast fashion. 2015-10-09 21:05:50 +02:00
Alexander Golubev
c8428a1bc3 +str #18411 add FlowOps.zip/zipWith/merge/concat operators 2015-10-03 23:26:06 -04:00
Alexander Golubev
993e545e99 +str #18411 add FlowOps.zip/zipWith/merge/concat operators 2015-10-03 14:28:57 -04:00
kukido
f858881b2e =doc #17329 Spelling normalization, typos fixed. 2015-09-28 22:45:38 -07:00
Roland Kuhn
68ba0643d6 =str,htp clean up build warnings
- explicitly provide Unit values and place parens around tuple creation
- remove structural type usage in TestUtils
- fix Java double-casts
- use unused Java values by asserting their non-nullness
- work around inability to place case class in trait (scripted test)

The remaining warnings about using private types in public methods are
bogus as reported in https://issues.scala-lang.org/browse/SI-9490.
2015-09-25 15:20:23 +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
4c2747748d =str #18136: Document mapAsync invocation order 2015-09-02 16:51:14 +02:00
Alexander Golubev
e0a430dc14 +str #18275 Java DSL: Flow.of(MyClass.class).via(otherFlow) throws ClassCastException 2015-08-31 10:27:07 -04:00
André Rüdiger
6af9ced35c =str: various minor cleanups 2015-08-18 11:36:24 +02:00
Philipp
ac007efc0d +str: Sliding window operation 2015-08-14 17:00:30 +02:00
Balazs Kossovics
77b0c4e9ba =str,doc fixing typo in docs for mapAsync(Unordered) stages 2015-07-16 09:55:51 +02:00
Alexander Golubev
630343e483 +str #16394 recover operation 2015-07-15 10:34:56 +02:00
Viktor Klang
66a116d3d2 -str - Improvements and renames in internal streams classes
* Renames Module.grow -> Module.compose
 * Renames Module.connect -> Module.wire
 * Renames Module.growConnect -> Module.fuse
 * Renames Module.wrap -> Module.nest

 * Adds explicit identity equals and hashCode to InPort and OutPort

 * Reimplements many of the Source factories to avoid copying

 * Documents Module.compose, Module.fuse, Module.wire and Module.nest

 * Removes Attributes.nameLifted

 * Optimizes Attributes.nameOrDefault
2015-07-13 23:39:45 +02:00
Martynas Mickevičius
efc659b70a Merge pull request #17953 from drewhk/wip-17891-processor-support-drewhk
+str #17891: Add direct support for RS Processors
2015-07-13 17:21:10 +03:00
Endre Sándor Varga
47ea3fde38 created factory method 2015-07-09 18:01:45 +02:00
Endre Sándor Varga
fed5e522c6 +str #17203: Add extra docs to prefixAndTail 2015-07-09 14:42:28 +02:00
Viktor Klang
2725bfc044 =str - Various internal Akka Stream improvements
* Gives Inlets and Outlets a `carbonCopy` method and switches to allocate them via `apply`
* Removes 4 Array allocations per FanIn and uses a bitmasked array instead
* Makes the FlattenStrategy.concat instance a singleton
2015-06-30 11:45:50 +02:00
Viktor Klang
36abbb4234 Introduces fold as a Flow transformation and generalizes Sink.fold to be Flow.fold + Sink.head
Conflicts:
	akka-stream/src/main/scala/akka/stream/impl/ActorMaterializerImpl.scala
	akka-stream/src/main/scala/akka/stream/impl/Stages.scala
	akka-stream/src/main/scala/akka/stream/scaladsl/Sink.scala
2015-06-30 10:17:52 +02:00
Endre Sándor Varga
c7a974dd1e Rename RunnableFlow to RunnableGraph 2015-06-23 18:49:53 +02:00
Endre Sándor Varga
7879a5521b Rename FlowMaterializer to Materializer 2015-06-23 18:47:28 +02:00
Endre Sándor Varga
dc7269e620 Rename OperationAttributes to Attributes 2015-06-23 18:45:04 +02:00
Alexander Golubev
6f9438a2b0 +str #17226 add dropWhile and takeWhile 2015-06-16 17:55:50 -04:00
Viktor Klang
3bf1c14b3a =str - fixing TODO about scaladsl & javadsl Source/Sink/Flow/BidiFlow.wrap not having to needlessly re-wrap 2015-06-07 11:34:53 +02:00
Konrad Malawski
5e8ff792a0 +str #16885 add splitAfter
Implementation is shared with splitWhen - see Split / SplitWhere
Allows for easy addition of splitWhen(x => Decision) if we'd like to
Resolves #16885
2015-05-28 17:32:16 +02:00
Endre Sándor Varga
30e4a57ee0 +str #17464: mapConcat accepts immutable.Iterable 2015-05-21 14:28:09 +02:00
Endre Sándor Varga
7ad4fdc3ce !str #17123: Make materialized value handling method names consistent 2015-05-05 12:42:41 +02:00
Roland Kuhn
55e1d71eea !str #17327 use curried methods for mapAsync 2015-04-28 17:40:45 +02:00
Konrad Malawski
ed51c860e2 Merge pull request #17162 from ktoso/wip-logging-streams-ktoso
Logging with log() stage for streams
2015-04-24 15:39:57 +02:00
Konrad Malawski
f2b757df51 +str #17162 add log() stage for simple logging in Flows
+ with javadsl
+ allows configuring log levels
+ allows turning off logging of certain actions completely
+ cookbook adjusted to show this instead of manual PushStage
- PENDING: preStart based impl will be faster, coming soon
2015-04-24 15:37:39 +02:00
Endre Sándor Varga
d73f78dcbf +str #17254: Accept graphs instead of Flow/Source/Sink etc. 2015-04-24 13:14:00 +02:00
Endre Sándor Varga
e82b89e285 +doc, str #16716: Table summarizing built-in processing stages 2015-04-24 11:29:23 +02:00
drewhk
2152340ba8 Merge pull request #17280 from drewhk/wip-16940-shallow-layout-copy-drewhk
=str #16940: Implement shallow copy for stream layouts
2015-04-23 19:37:04 +02:00
Endre Sándor Varga
82a7f13a02 =str 16940: Implement shallow copy of layouts 2015-04-23 18:00:01 +02:00
Mathias
fed89db739 =str widen Flow::andThenMat visibility from private[stream] to private[akka] 2015-04-23 15:12:53 +02:00
Johannes Rudolph
a58859c77c +str #17145 add new Flow.wrap overload to create flow from sink and source 2015-04-22 11:08:09 +02:00
Roland Kuhn
d6f5b4ad2d Merge pull request #17210 from ktoso/wip-concat-docs-ktoso
Document mapConcat's Seq should not contain nulls
2015-04-20 21:22:32 +02:00
Patrik Nordwall
c6404d3e44 !str #17189 Add withAttributes and named to Graph
* Remove optional attributes parameter in favor of withAttributes
* Overload explosion when trying to add attributes to ZipWith.
* Aligned with Flow and Source.
2015-04-17 11:31:32 +02:00
Patrik Nordwall
00033313e0 !str #16951 Unify scaladsl and javadsl OperationAttributes
* Move actor specific attributes to ActorOperationAttributes
2015-04-16 14:16:01 +02:00
Konrad Malawski
38638e42e4 =str #16608 adds scaladoc about null in col returned from mapConcat 2015-04-15 17:51:18 +02:00
Martynas Mickevičius
da5fde03c7 Merge pull request #17142 from 2m/wip-minor-typo-fixes
=str minor typo fixes and scala version bump
2015-04-14 16:53:39 +03:00
Martynas Mickevičius
57e5976996 =str minor typo fixes and scala version bump 2015-04-13 20:10:59 +03:00
Patrik Nordwall
b69988c190 !str #16937 Remove section, in favor of via and separate flow 2015-04-10 17:34:29 +02:00
Mathias
1c112b935d +str #17039 add concatMat to Flow and Source 2015-04-10 15:10:42 +02:00
Mathias
85c0571620 !str #17039 change default materialization placeholder type from Unit to Any 2015-04-10 15:10:42 +02:00
Roland Kuhn
8f47b6dfcc Merge pull request #17105 from akka/wip-async-stage-∂π
add async stage
2015-04-10 10:52:01 +02:00
Roland Kuhn
4c623fade7 !str #17090 add AsyncStage 2015-04-10 09:00:36 +02:00