class AckedFlow[-In, +Out, +Mat] extends AckedFlowOpsMat[Out, Mat] with AckedGraph[AckedFlowShape[In, Out], Mat]
- Alphabetic
- By Inheritance
- AckedFlow
- AckedGraph
- AckedFlowOpsMat
- AckedFlowOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
AkkaShape = AckedFlowShape.AkkaShape
- Definition Classes
- AckedGraph
-
type
Repr[+O] = AckedFlow[In, O, Mat]
- Definition Classes
- AckedFlow → AckedFlowOpsMat → AckedFlowOps
-
type
ReprMat[+O, +M] = AckedFlow[In, O, M]
- Definition Classes
- AckedFlow → AckedFlowOpsMat
-
type
Shape = AckedFlowShape[In, Out]
- Definition Classes
- AckedGraph
-
type
UnwrappedRepr[+O] = Flow[In, O, Mat]
- Definition Classes
- AckedFlow → AckedFlowOpsMat → AckedFlowOps
-
type
UnwrappedReprMat[+O, +M] = Flow[In, O, M]
- Definition Classes
- AckedFlow → AckedFlowOpsMat
-
type
WrappedRepr[+O] = Flow[AckTup[In], AckTup[O], Mat]
- Definition Classes
- AckedFlow → AckedFlowOpsMat → AckedFlowOps
-
type
WrappedReprMat[+O, +M] = Flow[AckTup[In], AckTup[O], M]
- Definition Classes
- AckedFlow → AckedFlowOpsMat
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++[U >: Out, Mat2](that: AckedGraph[AckedSourceShape[U], Mat2]): Repr[U]
Concatenates this Flow with the given Source so the first element emitted by that source is emitted after the last element of this flow.
Concatenates this Flow with the given Source so the first element emitted by that source is emitted after the last element of this flow.
See FlowOps.++ in akka-stream
- Definition Classes
- AckedFlowOps
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
acked: akka.stream.scaladsl.Flow.Repr[Out]
Yields an Unwrapped Repr with only the data; after this point, message are acked.
Yields an Unwrapped Repr with only the data; after this point, message are acked.
- Definition Classes
- AckedFlowOps
-
def
addAttributes(attr: Attributes): Repr[Out]
- Definition Classes
- AckedFlow → AckedGraph
-
val
akkaGraph: Flow[AckTup[In], AckTup[Out], Mat]
- Definition Classes
- AckedFlow → AckedGraph
-
def
alsoTo(that: AckedGraph[AckedSinkShape[Out], _]): Repr[Out]
- Definition Classes
- AckedFlowOps
-
def
alsoToMat[Mat2, Mat3](that: AckedGraph[AckedSinkShape[Out], Mat2])(matF: (Mat, Mat2) ⇒ Mat3): ReprMat[Out, Mat3]
- Definition Classes
- AckedFlowOpsMat
-
def
andThen[U](next: WrappedRepr[U]): Repr[U]
- Attributes
- protected
- Definition Classes
- AckedFlow → AckedFlowOps
-
def
andThenMat[U, Mat2](next: WrappedReprMat[U, Mat2]): ReprMat[U, Mat2]
- Attributes
- protected
- Definition Classes
- AckedFlow → AckedFlowOpsMat
-
def
andThenSubFlow[U >: Out, Mat2 >: Mat](wrappedSubFlow: SubFlow[AckTup[U], Mat2, akka.stream.scaladsl.Flow.Repr, _]): AckedSubFlow[U, Mat2, Repr]
- Definition Classes
- AckedFlowOps
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
buffer(size: Int, failOnOverflow: Boolean = false): Repr[Out]
See FlowOps.buffer in akka-stream
See FlowOps.buffer in akka-stream
Does not accept an OverflowStrategy because only backpressure and fail are supported.
- Definition Classes
- AckedFlowOps
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
implicit
def
collapse1to0[U, Mat2](next: akka.stream.scaladsl.Flow.Repr[AckTup[U]]): WrappedRepr[U]
- Definition Classes
- AckedFlowOps
- Annotations
- @inline()
-
implicit
def
collapse2to0Mat[U, Mat2](next: (<refinement>.this)#ReprMat[AckTup[U], Mat2]): WrappedReprMat[U, Mat2]
- Attributes
- protected
- Definition Classes
- AckedFlowOpsMat
- Annotations
- @inline()
-
def
collect[T](pf: PartialFunction[Out, T]): Repr[T]
See FlowOps.collect in akka-stream
See FlowOps.collect in akka-stream
A map and a filter. Elements for which the provided PartialFunction is not defined are acked.
- Definition Classes
- AckedFlowOps
-
def
completionTimeout(timeout: FiniteDuration): Repr[Out]
- Definition Classes
- AckedFlowOps
-
def
concat[U >: Out, Mat2](that: AckedGraph[AckedSourceShape[U], Mat2]): Repr[U]
Concatenates this Flow with the given Source so the first element emitted by that source is emitted after the last element of this flow.
Concatenates this Flow with the given Source so the first element emitted by that source is emitted after the last element of this flow.
See FlowOps.concat in akka-stream
- Definition Classes
- AckedFlowOps
-
def
conflateWithSeed[S](seed: (Out) ⇒ S)(aggregate: (S, Out) ⇒ S): Repr[S]
See FlowOps.conflateWithSeed in akka-stream
See FlowOps.conflateWithSeed in akka-stream
Conflated items are grouped together into a single message, the acknowledgement of which acknowledges every message that went into the group.
- Definition Classes
- AckedFlowOps
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
filter(predicate: (Out) ⇒ Boolean): Repr[Out]
Filters elements from the stream for which the predicate returns false.
Filters elements from the stream for which the predicate returns false. Filtered items are acked.
See FlowOps.filter in akka-stream
- Definition Classes
- AckedFlowOps
-
def
filterNot(predicate: (Out) ⇒ Boolean): Repr[Out]
Filters elements from the stream for which the predicate returns true.
Filters elements from the stream for which the predicate returns true. Filtered items are acked.
See FlowOps.filterNot in akka-stream
- Definition Classes
- AckedFlowOps
-
def
fold[T](zero: T)(f: (T, Out) ⇒ T): Repr[T]
Similar to
scanbut only emits its result when the upstream completes, after which it also completes.Similar to
scanbut only emits its result when the upstream completes, after which it also completes. Applies the given function towards its current and next value, yielding the next current value.If the function
fthrows an exception and the supervision decision is akka.stream.Supervision.Restart current value starts atzeroagain the stream will continue.Emits when upstream completes
Backpressures when downstream backpressures
Completes when upstream completes
Cancels when downstream cancels
- Definition Classes
- AckedFlowOps
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
groupBy[K, U >: Out](maxSubstreams: Int, f: (Out) ⇒ K): AckedSubFlow[Out, Mat, Repr]
Yields a non-acked flow/source of AckedSource, keyed by the return value of the provided function.
Yields a non-acked flow/source of AckedSource, keyed by the return value of the provided function.
See FlowOps.groupBy in akka-stream
- Definition Classes
- AckedFlowOps
-
def
grouped(n: Int): Repr[Seq[Out]]
See FlowOps.grouped in akka-stream
See FlowOps.grouped in akka-stream
Downstream acknowledgement applies to the resulting group (IE: if it yields a group of 100, then downstream you can only either ack or nack the entire group).
- Definition Classes
- AckedFlowOps
-
def
groupedWithin(n: Int, d: FiniteDuration): Repr[Seq[Out]]
See FlowOps.groupedWithin in akka-stream
See FlowOps.groupedWithin in akka-stream
Downstream acknowledgement applies to the resulting group (IE: if it yields a group of 100, then downstream you can only either ack or nack the entire group).
- Definition Classes
- AckedFlowOps
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
idleTimeout(timeout: FiniteDuration): Repr[Out]
If the time between two processed elements exceed the provided timeout, the stream is failed with a scala.concurrent.TimeoutException.
If the time between two processed elements exceed the provided timeout, the stream is failed with a scala.concurrent.TimeoutException.
- Definition Classes
- AckedFlowOps
-
def
initialDelay(delay: FiniteDuration): Repr[Out]
Delays the initial element by the specified duration.
Delays the initial element by the specified duration.
- Definition Classes
- AckedFlowOps
-
def
initialTimeout(timeout: FiniteDuration): Repr[Out]
If the first element has not passed through this stage before the provided timeout, the stream is failed with a scala.concurrent.TimeoutException.
If the first element has not passed through this stage before the provided timeout, the stream is failed with a scala.concurrent.TimeoutException.
- Definition Classes
- AckedFlowOps
-
def
intersperse[T >: Out](start: T, inject: T, end: T): Repr[T]
Intersperses stream with provided element, similar to how scala.collection.immutable.List.mkString injects a separator between a List's elements.
Intersperses stream with provided element, similar to how scala.collection.immutable.List.mkString injects a separator between a List's elements.
- Definition Classes
- AckedFlowOps
-
def
intersperse[T >: Out](inject: T): Repr[T]
Intersperses stream with provided element, similar to how scala.collection.immutable.List.mkString injects a separator between a List's elements.
Intersperses stream with provided element, similar to how scala.collection.immutable.List.mkString injects a separator between a List's elements.
- Definition Classes
- AckedFlowOps
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
keepAlive[U >: Out](maxIdle: FiniteDuration, injectedElem: () ⇒ U): Repr[U]
Injects additional elements if the upstream does not emit for a configured amount of time.
Injects additional elements if the upstream does not emit for a configured amount of time.
- Definition Classes
- AckedFlowOps
-
def
log(name: String, extract: (Out) ⇒ Any = identity)(implicit log: LoggingAdapter = null): Repr[Out]
See FlowOps.log in akka-stream
See FlowOps.log in akka-stream
- Definition Classes
- AckedFlowOps
-
def
map[T](f: (Out) ⇒ T): Repr[T]
See FlowOps.map in akka-stream
See FlowOps.map in akka-stream
- Definition Classes
- AckedFlowOps
-
def
mapAsync[T](parallelism: Int)(f: (Out) ⇒ Future[T]): Repr[T]
See FlowOps.mapAsync in akka-stream
See FlowOps.mapAsync in akka-stream
- Definition Classes
- AckedFlowOps
-
def
mapAsyncUnordered[T](parallelism: Int)(f: (Out) ⇒ Future[T]): Repr[T]
See FlowOps.mapAsyncUnordered in akka-stream
See FlowOps.mapAsyncUnordered in akka-stream
- Definition Classes
- AckedFlowOps
-
def
mapConcat[T](f: (Out) ⇒ Iterable[T]): Repr[T]
See FlowOps.mapConcat in akka-stream
See FlowOps.mapConcat in akka-stream
Splits a single element into 0 or more items.
If 0 items, then signal completion of this element. Otherwise, signal completion of this element after all resulting elements are signaled for completion.
- Definition Classes
- AckedFlowOps
-
def
mapMaterializedValue[Mat2](f: (Mat) ⇒ Mat2): ReprMat[Out, Mat2]
Transform the materialized value of this AckedFlow, leaving all other properties as they were.
-
def
merge[U >: Out](that: AckedGraph[AckedSourceShape[U], _]): Repr[U]
Merge the given Source to this Flow, taking elements as they arrive from input streams, picking randomly when several elements ready.
Merge the given Source to this Flow, taking elements as they arrive from input streams, picking randomly when several elements ready.
Emits when one of the inputs has an element available
Backpressures when downstream backpressures
Completes when all upstreams complete
Cancels when downstream cancels
- Definition Classes
- AckedFlowOps
-
def
mergeMat[U >: Out, Mat2, Mat3](that: AckedGraph[AckedSourceShape[U], Mat2])(matF: (Mat, Mat2) ⇒ Mat3): ReprMat[U, Mat3]
- Definition Classes
- AckedFlowOpsMat
-
def
named(name: String): AckedGraph[AckedFlowShape[In, Out], Mat]
- Definition Classes
- AckedGraph
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
lazy val
shape: AckedFlowShape[In, Out]
- Definition Classes
- AckedFlow → AckedGraph
-
def
splitAfter[U >: Out](predicate: (Out) ⇒ Boolean): AckedSubFlow[Out, Mat, Repr]
- Definition Classes
- AckedFlowOps
-
def
splitWhen[U >: Out](predicate: (Out) ⇒ Boolean): AckedSubFlow[Out, Mat, Repr]
This operation applies the given predicate to all incoming elements and emits them to a stream of output streams, always beginning a new one with the current element if the given predicate returns true for it.
This operation applies the given predicate to all incoming elements and emits them to a stream of output streams, always beginning a new one with the current element if the given predicate returns true for it. This means that for the following series of predicate values, three substreams will be produced with lengths 1, 2, and 3:
false, // element goes into first substream true, false, // elements go into second substream true, false, false // elements go into third substream
In case the *first* element of the stream matches the predicate, the first substream emitted by splitWhen will start from that element. For example:
true, false, false // first substream starts from the split-by element true, false // subsequent substreams operate the same way
If the split predicate
pthrows an exception and the supervision decision is akka.stream.Supervision.Stop the stream and substreams will be completed with failure.If the split predicate
pthrows an exception and the supervision decision is akka.stream.Supervision.Resume or akka.stream.Supervision.Restart the element is dropped and the stream and substreams continue.Exceptions thrown in predicate will be propagated via the acknowledgement channel
Emits when an element for which the provided predicate is true, opening and emitting a new substream for subsequent element
Backpressures when there is an element pending for the next substream, but the previous is not fully consumed yet, or the substream backpressures
Completes when upstream completes
Cancels when downstream cancels and substreams cancel
- Definition Classes
- AckedFlowOps
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
take(n: Long): Repr[Out]
See FlowOps.take in akka-stream
See FlowOps.take in akka-stream
- Definition Classes
- AckedFlowOps
-
def
takeWhile(predicate: (Out) ⇒ Boolean): Repr[Out]
See FlowOps.takeWhile in akka-stream
See FlowOps.takeWhile in akka-stream
- Definition Classes
- AckedFlowOps
-
def
takeWithin(d: FiniteDuration): Repr[Out]
See FlowOps.takeWithin in akka-stream
See FlowOps.takeWithin in akka-stream
- Definition Classes
- AckedFlowOps
- def to[Mat2](sink: AckedSink[Out, Mat2]): AckedSink[In, Mat]
- def toMat[Mat2, Mat3](sink: AckedSink[Out, Mat2])(combine: (Mat, Mat2) ⇒ Mat3): AckedSink[In, Mat3]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unsafe: WrappedRepr[Out]
Yields an unacked Repr with the promise and the data.
Yields an unacked Repr with the promise and the data. Note, this is inherently unsafe, as the method says. There is no timeout for the acknowledgement promises. Failing to complete the promises will cause a consumer with a non-infinite QoS to eventually stall.
- Definition Classes
- AckedFlowOps
-
def
via[T, Mat2](flow: AckedGraph[AckedFlowShape[Out, T], Mat2]): AckedFlow[In, T, Mat]
See Flow.via in akka-stream
-
def
viaMat[T, Mat2, Mat3](flow: AckedGraph[AckedFlowShape[Out, T], Mat2])(combine: (Mat, Mat2) ⇒ Mat3): AckedFlow[In, T, Mat3]
See Flow.viaMat in akka-stream
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withAttributes(attr: Attributes): Repr[Out]
- Definition Classes
- AckedFlow → AckedGraph
-
def
wrapShape(akkaShape: akka.stream.scaladsl.Flow.Shape): Self
- Definition Classes
- AckedGraph
-
val
wrappedRepr: Flow[AckTup[In], AckTup[Out], Mat]
- Definition Classes
- AckedFlow → AckedFlowOps
-
def
zip[U](that: AckedGraph[AckedSourceShape[U], _]): Repr[(Out, U)]
Combine the elements of current flow and the given Source into a stream of tuples.
Combine the elements of current flow and the given Source into a stream of tuples.
- Definition Classes
- AckedFlowOps
-
def
zipMat[U, Mat2, Mat3](that: AckedGraph[AckedSourceShape[U], Mat2])(matF: (Mat, Mat2) ⇒ Mat3): ReprMat[(Out, U), Mat3]
- Definition Classes
- AckedFlowOpsMat
-
def
zipWith[Out2, Out3](that: AckedGraph[AckedSourceShape[Out2], _])(combine: (Out, Out2) ⇒ Out3): Repr[Out3]
Put together the elements of current flow and the given Source into a stream of combined elements using a combiner function.
Put together the elements of current flow and the given Source into a stream of combined elements using a combiner function.
- Definition Classes
- AckedFlowOps
-
def
zipWithMat[Out2, Out3, Mat2, Mat3](that: AckedGraph[AckedSourceShape[Out2], Mat2])(combine: (Out, Out2) ⇒ Out3)(matF: (Mat, Mat2) ⇒ Mat3): ReprMat[Out3, Mat3]
- Definition Classes
- AckedFlowOpsMat
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.