public final class PublisherSource<Out> extends SourceModule<Out,NotUsed>
Processor
instances
that mediate the flow of elements downstream and the propagation of
back-pressure upstream.Constructor and Description |
---|
PublisherSource(org.reactivestreams.Publisher<Out> p,
Attributes attributes,
SourceShape<Out> shape) |
Modifier and Type | Method and Description |
---|---|
Attributes |
attributes() |
scala.Tuple2<org.reactivestreams.Publisher<Out>,NotUsed$> |
create(MaterializationContext context) |
protected java.lang.String |
label() |
protected SourceModule<Out,NotUsed> |
newInstance(SourceShape<Out> shape) |
StreamLayout.AtomicModule |
withAttributes(Attributes attr) |
amendShape, carbonCopy, replaceShape, shape, toString
downstreams, inPorts, outPorts, subModules, upstreams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compose, compose, composeNoMat, equals, fuse, fuse, hashCode, isAtomic, isBidiFlow, isCopied, isFlow, isFused, isRunnable, isSealed, isSink, isSource, materializedValueComputation, transformMaterializedValue, wire
public PublisherSource(org.reactivestreams.Publisher<Out> p, Attributes attributes, SourceShape<Out> shape)
public Attributes attributes()
protected java.lang.String label()
label
in class SourceModule<Out,NotUsed>
public scala.Tuple2<org.reactivestreams.Publisher<Out>,NotUsed$> create(MaterializationContext context)
protected SourceModule<Out,NotUsed> newInstance(SourceShape<Out> shape)
newInstance
in class SourceModule<Out,NotUsed>
public StreamLayout.AtomicModule withAttributes(Attributes attr)