Commit graph

58 commits

Author SHA1 Message Date
Roland Kuhn
354a8e3a41 !str #17277 remove akka.stream.javadsl.japi.WithVariance
sadly we forgot to also move the boilerplate-generated FunctionN and
ProcedureN into akka-actor, so they are still in
akka.stream.javadsl.japi.
2015-04-24 11:05:11 +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
Patrik Nordwall
b69988c190 !str #16937 Remove section, in favor of via and separate flow 2015-04-10 17:34:29 +02:00
Mathias
85c0571620 !str #17039 change default materialization placeholder type from Unit to Any 2015-04-10 15:10:42 +02:00
Konrad Malawski
3b23d84788 Merge pull request #17146 from ktoso/wip-javadsl-numbered-ktoso
+str #17108 adds arity-numbers to javadsl for nicer compile errors
2015-04-10 14:52:00 +02:00
Konrad Malawski
d6b6220a5d +added comments to all templates 2015-04-10 14:51:40 +02:00
Patrik Nordwall
f4ed62b84c !str #16520 Add ActorRefSource
* and rename the factory for ActorPublisherSource,
  from Source.apply to Source.actorPublisher

* including internal buffer, with OverflowStrategy

* support to complete/fail stream
2015-04-10 13:53:15 +02:00
Patrik Nordwall
946faedd95 !str #16521 Add ActorRefSink
* also rename the factory for ActorSubscriber props Sink,
  from apply to actorSubscriber
2015-04-10 12:58:52 +02:00
Roland Kuhn
4c623fade7 !str #17090 add AsyncStage 2015-04-10 09:00:36 +02:00
Konrad Malawski
4e796a5eec +str #17108 adds arity-numbers to javadsl for nicer compile errors
Resolves #17108
2015-04-07 16:11:48 +02:00
Endre Sándor Varga
a7af773e2c !str #16168: Expose materialized value in the graph as a "source" 2015-04-07 12:51:18 +02:00
Roland Kuhn
157629f8af !str #16416,#16994 BidiFlow DSL and Flow.join Mat
- add BidiFlow, with atop and join combinators
- add Flow.join(BidiFlow)
- correct Flow.join’s default materialized value selection to Keep.left
2015-03-24 11:10:14 +01:00
Patrik Nordwall
3dc4e6d077 !str #16992 Rework Source and Sink name parameter
* Remove name parameter (no overloads), naming is performed using `.withAttributes` or the new
  convenience `.named`. Those adds the OperationAttribute.Name and also change the name of the
  shape Inlet and Outlet.

* Remove Source/Sink parameter list for 0 parameter methods,
  this allows usage of `Sink.head` instead of `Sink.head()`
2015-03-06 09:24:00 +01:00
Roland Kuhn
6416dc2f25 tests compile apart from flexi things 2015-02-27 12:10:10 +01:00
Roland Kuhn
743cd98bf4 fix two wrong/flaky tests
- ordering is not preserved by shufflers in GraphOpsIntegrationSpec
- larger tolerance is needed in GraphBalanceSpec since balancing does
  not keep track of previous imbalances
- also add Source.repeat(elem)
2015-02-26 14:22:26 +01:00
Endre Sándor Varga
8d77fa8b29 !str #16902: Unify stream internal representation
also =str #16912: Fix StreamTcpSpec flakiness
2015-02-26 10:06:56 +01:00
Patrik Nordwall
2740d67c61 !str #16565 Make Flexi* limitations explicit
* remove isDemandAvailable
* hide emit from CompletionHandler context
* throw if more than one emit in response to an input
* had to remove the OrderedMerge test/sample because emitting
  from CompletionHandler is currently not supported
* FlexiRoute and FlexiMerge might become more capable later, see issue 16753
2015-02-03 13:42:48 +01:00
Patrik Nordwall
580ba8c484 Merge pull request #16730 from akka/wip-15851-ActorBasedFlowMaterializer-patriknw
!str #15851 Rename FlowMaterializer and settings
2015-01-29 10:30:08 +01:00
Patrik Nordwall
de5bff0444 Merge pull request #16727 from akka/wip-16577-FlexiMerge-exceptions-patriknw
!str #6577 Align API of Flexi with Stage
2015-01-29 10:26:53 +01:00
Patrik Nordwall
8505e4935a !str #6577 Align API of Flexi with Stage
* error -> fail
* complete -> finish
* onComplete - onUpstreamFinish
* onError - onUpstreamFailure
* onCancel - onDownstreamFinish
2015-01-29 10:25:52 +01:00
Konrad Malawski
9c9984aaf9 Merge pull request #16721 from ktoso/runOps-ktoso
!str #16563 terminal operations start with run*; runFold runForeach
2015-01-28 10:24:38 +01:00
Patrik Nordwall
cd9d503b03 !str #15851 Rename FlowMaterializer and settings
* FlowMaterializer is now the actor independent interface
* ActorFlowMaterializer is the actor based interface
* MaterializerSettings renamed to ActorFlowMaterializerSettings
* impl.ActorBasedFlowMaterializer renamed to impl.ActorFlowMaterializerImpl
* Optimizations included in ActorFlowMaterializerSettings
* Note that http is using FlowMaterializer in api, but I suspect that it
  will currently only run with a ActorFlowMaterializer
2015-01-27 19:22:22 +01:00
Konrad Malawski
39038597b2 !str #16563 terminal operations start with run*; runFold runForeach 2015-01-26 15:39:36 +01:00
Patrik Nordwall
631b4ca5ac !str #16492 Remove closure in TickSource to make it shareable 2015-01-26 14:16:59 +01:00
Konrad Malawski
b23d459eeb =str #16658 tickSource in JavaDSL must expose keyed source / cancellable 2015-01-22 11:44:52 +01:00
Konrad 'ktoso' Malawski
bc5f3aaa90 +str #16464 generalised zipWith for up to 22 params
- removing deprecarted marker from japi, people will have to use it
  currently
2014-12-22 10:47:08 +01:00
Patrik Nordwall
ef2835d60e Merge pull request #16550 from akka/wip-16400-javadsl-stream-io-patriknw
!str #16400 Add Java API for StreamTcp
2014-12-18 13:19:20 +01:00
Patrik Nordwall
7034c60eb3 !str #16400 Add Java API for StreamTcp
* move io.StreamTcp to scaladsl.StreamTcp
* add javadsl.StreamTcp that delegates to scaladsl implementation
* move impl
* add java test
2014-12-18 12:40:41 +01:00
Patrik Nordwall
e85ba73af0 !str #16484 #16392 Remove String identifier of junctions
* descriptive name can still be defined with OperationAttributes.name
* revisit all factory methods (apply/create) and implement and document
  them in a consistent manner
2014-12-18 12:25:59 +01:00
Viktor Klang
2bd1230ca9 +str - adds ZipWith and makes Zip use that to create tuples/pairs 2014-12-03 21:30:17 +01:00
Björn Antonsson
91d29cbb3a =str #16259 Added more red-face testing of the stream Java DSL 2014-12-03 10:33:21 +01:00
Martynas Mickevicius
64feb041be =str #15152 operation transformations 2014-12-01 20:07:55 +02:00
Patrik Nordwall
10c307ab9f Merge pull request #16360 from akka/wip-16321-FlexiMergeTest-patriknw
=str #16321 Harden FlexiMergeTest
2014-11-25 10:12:40 +01:00
Patrik Nordwall
966b7477ca =str #16318 Harden FlexiRouteTest 2014-11-21 16:16:04 +01:00
Patrik Nordwall
56751c8a1d =str #16321 Harden FlexiMergeTest 2014-11-21 15:05:22 +01:00
Patrik Nordwall
a82f266367 !str #15236 Replace Transformer with Stage
* replace all existing Transformer with Stage (PushPullStage)
* use Flow[ByteString, ByteString] as encoder/decoder transformer in http
* use the IteratorInterpreter for strict if possible
* emit then become
* emit then finish
* termination emits
* FlowTransformerSpec
* rework types to work with Java API
* rename and move things
* add scaladoc
2014-11-21 11:41:34 +01:00
Viktor Klang
14afce31ef +str - Renames SynchronousPublisherFromIterable to SynchronousIterablePublisher
Introduces an Actor-based IterablePublisher
       Gives names to most of the publishers
2014-11-18 19:48:26 +01:00
Viktor Klang
db4e5c4a29 =str - Various Flow and FlowMaterializer improvements
- Switches from using size-of-1/2 Vectors to using Lists
  - Fixes an issue where processorForNode wouldn't use the dispatcher form the settings
  - Adds a dedicated Collect fusion op
  - Adds various simplifications to ActorBasedFlowMaterializer
  - Adds FIXMEs where appropriate
  - Switches `grouped` to use a VectorBuilder
  - Adds support for `scan`
  - ActorBasedFlowMaterializer now uses Iterator instead of head+tail decomp on Seqs
  - Identity and Completed Transformers are now cached
  - Adds dedicated AstNodes for all combinators
  - Adds a hook-in point for fusion in `ActorBasedFlowMaterializer`
  - Adds support for `Operate` an AstNode with a function that create a fusing.Op
  - Adds experimental and slow optimizer as a PoC
  - Adds verification that Ast.Fused does not exist in optimizer input
2014-11-17 17:45:48 +01:00
Konrad 'ktoso' Malawski
2a968924a2 =str #16233 adds ReadAll for FlexiMerge, with JavaDSL and more typesafety 2014-11-14 10:20:55 +01:00
Martynas Mickevičius
7bf97c768b Merge pull request #16196 from spray/w/15922-FileAndResourceDirectives
+htp #15922 import FileAndResourceDirectives from spray
2014-11-12 14:36:45 +02:00
Konrad 'ktoso' Malawski
0f4abb687f =str #16272 splitWhen should drop reference when done with substream
The completeSubstreamOutput is used to not early complete the stream,
where as invalidating would shutdown the stream too early (and elements
wouldn't be emitted as expected).
2014-11-12 11:59:06 +01:00
Johannes Rudolph
4631e052f2 +str add akka.stream.materializer.file-io-dispatcher setting 2014-11-12 08:19:00 +01:00
Patrik Nordwall
65269274b1 !str #16235 Rename Sink.future to Sink.head 2014-11-07 08:07:17 +01:00
Konrad Malawski
48d5e1e109 Merge pull request #16215 from ktoso/wip-timeout-untouchedstreams-ktoso
+str #15086 subscription-timeout for publishers in streamsofstreams
2014-11-06 16:15:20 +01:00
Konrad 'ktoso' Malawski
15abdaeb15 +str #15086 substream publishers now have subscription-timeouts 2014-11-06 15:30:50 +01:00
Patrik Nordwall
40371ebde4 +str #15205 Java API for FlexiRoute 2014-11-06 14:47:42 +01:00
Patrik Nordwall
30ee5539b8 +str #16105 Java API for FlexiMerge 2014-11-06 13:28:15 +01:00
Konrad 'ktoso' Malawski
99ed562dda =str removing duplicate fold sink definition on Sink 2014-10-30 19:49:12 +01:00
Roland Kuhn
0dbe266dfd add Future case to javadsl.SinkTest 2014-10-30 19:43:37 +01:00
Konrad 'ktoso' Malawski
122daaa88d =str typos in returned types in javadsl
sadly a reflection based spec cannot easily test this
2014-10-30 16:32:08 +01:00