final class ActorPublisherSource[Out] extends SourceModule[Out, ActorRef]
INTERNAL API
Creates and wraps an actor into org.reactivestreams.Publisher from the given props,
which should be akka.actor.Props for an akka.stream.actor.ActorPublisher.
- Source
- Modules.scala
- Alphabetic
- By Inheritance
- ActorPublisherSource
- SourceModule
- AtomicModule
- Module
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-  new ActorPublisherSource(props: Props, attributes: Attributes, shape: SourceShape[Out])
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        +(other: String): String
      
      
      - Implicit
- This member is added by an implicit conversion from ActorPublisherSource[Out] to any2stringadd[ActorPublisherSource[Out]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        ->[B](y: B): (ActorPublisherSource[Out], B)
      
      
      - Implicit
- This member is added by an implicit conversion from ActorPublisherSource[Out] to ArrowAssoc[ActorPublisherSource[Out]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        amendShape(attr: Attributes): SourceShape[Out]
      
      
      - Attributes
- protected
- Definition Classes
- SourceModule
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        val
      
      
        attributes: Attributes
      
      
      - Definition Classes
- ActorPublisherSource → Module
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        carbonCopy: AtomicModule
      
      
      The purpose of this method is to create a copy to be included in a larger graph such that port identity clashes are avoided. The purpose of this method is to create a copy to be included in a larger graph such that port identity clashes are avoided. Where a full copy is not possible or desirable, use a CopiedModule. The shape of the resulting module MUST NOT contain the same ports as this module’s shape. - Definition Classes
- SourceModule → Module
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        compose[A, B, C](that: Module, f: (A, B) ⇒ C): Module
      
      
      Creates a new Module which is thisModule composed withthatModule, using the given functionfto compose the materialized value ofthiswith the materialized value ofthat.Creates a new Module which is thisModule composed withthatModule, using the given functionfto compose the materialized value ofthiswith the materialized value ofthat.- A
- the type of the materialized value of - this
- B
- the type of the materialized value of - that
- C
- the type of the materialized value of the returned Module 
- that
- a Module to be composed with (cannot be itself) 
- f
- a function which combines the materialized values 
- returns
- a Module that represents the composition of - thisand- that
 - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        compose(that: Module): Module
      
      
      Creates a new Module which is thisModule composed withthatModule.Creates a new Module which is thisModule composed withthatModule.- that
- a Module to be composed with (cannot be itself) 
- returns
- a Module that represents the composition of - thisand- that
 - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        composeNoMat(that: Module): Module
      
      
      Creates a new Module which is thisModule composed withthatModule.Creates a new Module which is thisModule composed withthatModule.The difference to compose(that) is that this version completely ignores the materialized value computation of thatwhile the normal version executes the computation and discards its result. This means that this version must not be used for user-providedthatmodules because users may transform materialized values only to achieve some side-effect; it can only be used where we know that there is no meaningful computation to be done (like for MaterializedValueSource).- that
- a Module to be composed with (cannot be itself) 
- returns
- a Module that represents the composition of - thisand- that
 - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        create(context: MaterializationContext): (Publisher[Out], ActorRef)
      
      
      - Definition Classes
- ActorPublisherSource → SourceModule
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        downstreams: Map[OutPort, InPort]
      
      
      - Definition Classes
- AtomicModule → Module
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        ensuring(cond: (ActorPublisherSource[Out]) ⇒ Boolean, msg: ⇒ Any): ActorPublisherSource[Out]
      
      
      - Implicit
- This member is added by an implicit conversion from ActorPublisherSource[Out] to Ensuring[ActorPublisherSource[Out]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        ensuring(cond: (ActorPublisherSource[Out]) ⇒ Boolean): ActorPublisherSource[Out]
      
      
      - Implicit
- This member is added by an implicit conversion from ActorPublisherSource[Out] to Ensuring[ActorPublisherSource[Out]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        ensuring(cond: Boolean, msg: ⇒ Any): ActorPublisherSource[Out]
      
      
      - Implicit
- This member is added by an implicit conversion from ActorPublisherSource[Out] to Ensuring[ActorPublisherSource[Out]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        ensuring(cond: Boolean): ActorPublisherSource[Out]
      
      
      - Implicit
- This member is added by an implicit conversion from ActorPublisherSource[Out] to Ensuring[ActorPublisherSource[Out]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        equals(obj: Any): Boolean
      
      
      - Definition Classes
- Module → AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        formatted(fmtstr: String): String
      
      
      - Implicit
- This member is added by an implicit conversion from ActorPublisherSource[Out] to StringFormat[ActorPublisherSource[Out]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        fuse[A, B, C](that: Module, from: OutPort, to: InPort, f: (A, B) ⇒ C): Module
      
      
      Fuses this Module to thatModule by wiring togetherfromandto, transforming the materialized values ofthisandthatusing the provided functionfFuses this Module to thatModule by wiring togetherfromandto, transforming the materialized values ofthisandthatusing the provided functionf- that
- a Module to fuse with 
- from
- the data source to wire 
- to
- the data sink to wire 
- f
- the function to apply to the materialized values 
- returns
- a Module representing the fusion of - thisand- that
 - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        fuse(that: Module, from: OutPort, to: InPort): Module
      
      
      Fuses this Module to thatModule by wiring togetherfromandto, retaining the materialized value ofthisin the resultFuses this Module to thatModule by wiring togetherfromandto, retaining the materialized value ofthisin the result- that
- a Module to fuse with 
- from
- the data source to wire 
- to
- the data sink to wire 
- returns
- a Module representing the fusion of - thisand- that
 - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- Module → AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        lazy val
      
      
        inPorts: Set[InPort]
      
      
      - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        isAtomic: Boolean
      
      
      - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isBidiFlow: Boolean
      
      
      - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        isCopied: Boolean
      
      
      - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isFlow: Boolean
      
      
      - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        isFused: Boolean
      
      
      - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        isRunnable: Boolean
      
      
      - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isSealed: Boolean
      
      
      - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isSink: Boolean
      
      
      - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isSource: Boolean
      
      
      - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        label: String
      
      
      - Attributes
- protected
- Definition Classes
- SourceModule
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        materializedValueComputation: MaterializedValueNode
      
      
      - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        newInstance(shape: SourceShape[Out]): SourceModule[Out, ActorRef]
      
      
      - Attributes
- protected
- Definition Classes
- ActorPublisherSource → SourceModule
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        lazy val
      
      
        outPorts: Set[OutPort]
      
      
      - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        replaceShape(s: Shape): AtomicModule
      
      
      Verify that the given Shape has the same ports and return a new module with that shape. Verify that the given Shape has the same ports and return a new module with that shape. Concrete implementations may throw UnsupportedOperationException where applicable. Please note that this method MUST NOT be implemented using a CopiedModule since the purpose of replaceShape can also be to rearrange the ports (as in BidiFlow.reversed) and that purpose would be defeated. - Definition Classes
- SourceModule → Module
 
- 
      
      
      
        
      
    
      
        
        val
      
      
        shape: SourceShape[Out]
      
      
      - Definition Classes
- SourceModule → Module
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        subModules: Set[Module]
      
      
      - Definition Classes
- AtomicModule → Module
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        toString(): String
      
      
      - Definition Classes
- SourceModule → AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        transformMaterializedValue(f: (Any) ⇒ Any): Module
      
      
      - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        upstreams: Map[InPort, OutPort]
      
      
      - Definition Classes
- AtomicModule → Module
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wire(from: OutPort, to: InPort): Module
      
      
      Creates a new Module based on the current Module but with the given OutPort wired to the given InPort. Creates a new Module based on the current Module but with the given OutPort wired to the given InPort. - from
- the OutPort to wire 
- to
- the InPort to wire 
- returns
- a new Module with the ports wired 
 - Definition Classes
- Module
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        withAttributes(attr: Attributes): AtomicModule
      
      
      - Definition Classes
- ActorPublisherSource → Module
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        →[B](y: B): (ActorPublisherSource[Out], B)
      
      
      - Implicit
- This member is added by an implicit conversion from ActorPublisherSource[Out] to ArrowAssoc[ActorPublisherSource[Out]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc