Package akka.stream.testkit
Class StreamTestKit.ProbeSink<T>
- java.lang.Object
-
- akka.stream.impl.SinkModule<T,TestSubscriber.Probe<T>>
-
- akka.stream.testkit.StreamTestKit.ProbeSink<T>
-
- All Implemented Interfaces:
Graph<SinkShape<T>,TestSubscriber.Probe<T>>
,StreamLayout.AtomicModule<SinkShape<T>,TestSubscriber.Probe<T>>
- Enclosing class:
- StreamTestKit
public static final class StreamTestKit.ProbeSink<T> extends SinkModule<T,TestSubscriber.Probe<T>>
-
-
Constructor Summary
Constructors Constructor Description ProbeSink(Attributes attributes, SinkShape<T> shape, ActorSystem system)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attributes
attributes()
scala.Tuple2<TestSubscriber.Probe<T>,TestSubscriber.Probe<T>>
create(MaterializationContext context)
protected SinkModule<T,TestSubscriber.Probe<T>>
newInstance(SinkShape<T> shape)
SinkModule<T,TestSubscriber.Probe<T>>
withAttributes(Attributes attr)
-
Methods inherited from class akka.stream.impl.SinkModule
amendShape, label, shape, toString, traversalBuilder
-
-
-
-
Constructor Detail
-
ProbeSink
public ProbeSink(Attributes attributes, SinkShape<T> shape, ActorSystem system)
-
-
Method Detail
-
attributes
public Attributes attributes()
- Specified by:
attributes
in classSinkModule<T,TestSubscriber.Probe<T>>
-
create
public scala.Tuple2<TestSubscriber.Probe<T>,TestSubscriber.Probe<T>> create(MaterializationContext context)
-
newInstance
protected SinkModule<T,TestSubscriber.Probe<T>> newInstance(SinkShape<T> shape)
- Specified by:
newInstance
in classSinkModule<T,TestSubscriber.Probe<T>>
-
withAttributes
public SinkModule<T,TestSubscriber.Probe<T>> withAttributes(Attributes attr)
-
-