Package org.apache.pekko.stream.testkit
Class StreamTestKit.ProbeSink<T>
java.lang.Object
org.apache.pekko.stream.impl.SinkModule<T,TestSubscriber.Probe<T>>
org.apache.pekko.stream.testkit.StreamTestKit.ProbeSink<T>
- All Implemented Interfaces:
Graph<SinkShape<T>,
,TestSubscriber.Probe<T>> org.apache.pekko.stream.impl.StreamLayout.AtomicModule<SinkShape<T>,
TestSubscriber.Probe<T>>
- Enclosing class:
- StreamTestKit
public static final class StreamTestKit.ProbeSink<T>
extends org.apache.pekko.stream.impl.SinkModule<T,TestSubscriber.Probe<T>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pekko.stream.Graph
Graph.GraphMapMatVal<S extends Shape,
M> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionscala.Tuple2<TestSubscriber.Probe<T>,
TestSubscriber.Probe<T>> create
(org.apache.pekko.stream.MaterializationContext context) org.apache.pekko.stream.impl.SinkModule<T,
TestSubscriber.Probe<T>> withAttributes
(Attributes attr) Replace the attributes of thisFlow
with the given ones.Methods inherited from class org.apache.pekko.stream.impl.SinkModule
addAttributes, amendShape, async, async, async, getAttributes, label, named, shape, toString, traversalBuilder
-
Constructor Details
-
ProbeSink
-
-
Method Details
-
attributes
- Specified by:
attributes
in classorg.apache.pekko.stream.impl.SinkModule<T,
TestSubscriber.Probe<T>>
-
create
public scala.Tuple2<TestSubscriber.Probe<T>,TestSubscriber.Probe<T>> create(org.apache.pekko.stream.MaterializationContext context) -
withAttributes
public org.apache.pekko.stream.impl.SinkModule<T,TestSubscriber.Probe<T>> withAttributes(Attributes attr) Description copied from interface:Graph
Replace the attributes of thisFlow
with the given ones. If this Flow is a composite of multiple graphs, new attributes on the composite will be less specific than attributes set directly on the individual graphs of the composite.
-