akka.stream.actor

AbstractActorPublisher

abstract class AbstractActorPublisher[T] extends AbstractActor with ActorPublisher[T]

Java API compatible with lambda expressions

Source
ActorPublisher.scala
See also

akka.stream.actor.ActorPublisher

Linear Supertypes
ActorPublisher[T], AbstractActor, Actor, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AbstractActorPublisher
  2. ActorPublisher
  3. AbstractActor
  4. Actor
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractActorPublisher()

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Definition Classes
    Actor

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from AbstractActorPublisher[T] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (AbstractActorPublisher[T], B)

    Implicit information
    This member is added by an implicit conversion from AbstractActorPublisher[T] to ArrowAssoc[AbstractActorPublisher[T]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def aroundPostRestart(reason: Throwable): Unit

    INTERNAL API

    INTERNAL API

    Attributes
    protected[akka]
    Definition Classes
    ActorPublisher → Actor
  9. def aroundPostStop(): Unit

    INTERNAL API

    INTERNAL API

    Attributes
    protected[akka]
    Definition Classes
    ActorPublisher → Actor
  10. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    INTERNAL API

    INTERNAL API

    Attributes
    protected[akka]
    Definition Classes
    ActorPublisher → Actor
  11. def aroundPreStart(): Unit

    INTERNAL API

    INTERNAL API

    Attributes
    protected[akka]
    Definition Classes
    ActorPublisher → Actor
  12. def aroundReceive(receive: Receive, msg: Any): Unit

    INTERNAL API

    INTERNAL API

    Attributes
    protected[akka]
    Definition Classes
    ActorPublisher → Actor
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. implicit val context: ActorContext

    Definition Classes
    Actor
  16. def ensuring(cond: (AbstractActorPublisher[T]) ⇒ Boolean, msg: ⇒ Any): AbstractActorPublisher[T]

    Implicit information
    This member is added by an implicit conversion from AbstractActorPublisher[T] to Ensuring[AbstractActorPublisher[T]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (AbstractActorPublisher[T]) ⇒ Boolean): AbstractActorPublisher[T]

    Implicit information
    This member is added by an implicit conversion from AbstractActorPublisher[T] to Ensuring[AbstractActorPublisher[T]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: ⇒ Any): AbstractActorPublisher[T]

    Implicit information
    This member is added by an implicit conversion from AbstractActorPublisher[T] to Ensuring[AbstractActorPublisher[T]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): AbstractActorPublisher[T]

    Implicit information
    This member is added by an implicit conversion from AbstractActorPublisher[T] to Ensuring[AbstractActorPublisher[T]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from AbstractActorPublisher[T] to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def getContext(): AbstractActorContext

    Definition Classes
    AbstractActor
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. final def isActive: Boolean

    The state when the publisher is active, i.

    The state when the publisher is active, i.e. before the subscriber is attached and when an subscriber is attached. It is allowed to call #onComplete and #onError in this state. It is allowed to call #onNext in this state when #totalDemand is greater than zero.

    Definition Classes
    ActorPublisher
  28. final def isCanceled: Boolean

    The state after the stream subscriber has canceled the subscription.

    The state after the stream subscriber has canceled the subscription. It is allowed to call #onNext, #onError, and #onComplete in this state, but the calls will not perform anything.

    Definition Classes
    ActorPublisher
  29. final def isCompleted: Boolean

    The terminal state after calling #onComplete.

    The terminal state after calling #onComplete. It is not allowed to call #onNext, #onError, and #onComplete in this state.

    Definition Classes
    ActorPublisher
  30. final def isErrorEmitted: Boolean

    The terminal state after calling #onError.

    The terminal state after calling #onError. It is not allowed to call #onNext, #onError, and #onComplete in this state.

    Definition Classes
    ActorPublisher
  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  35. def onComplete(): Unit

    Complete the stream.

    Complete the stream. After that you are not allowed to call #onNext, #onError and #onComplete.

    Definition Classes
    ActorPublisher
  36. def onCompleteThenStop(): Unit

    Complete the stream.

    Complete the stream. After that you are not allowed to call #onNext, #onError and #onComplete.

    After signalling completion the Actor will then stop itself as it has completed the protocol. When #onComplete is called before any Subscriber has had the chance to subscribe to this ActorPublisher the completion signal (and therefore stopping of the Actor as well) will be delayed until such Subscriber arrives.

    Definition Classes
    ActorPublisher
  37. def onError(cause: Throwable): Unit

    Terminate the stream with failure.

    Terminate the stream with failure. After that you are not allowed to call #onNext, #onError and #onComplete.

    Definition Classes
    ActorPublisher
  38. def onErrorThenStop(cause: Throwable): Unit

    Terminate the stream with failure.

    Terminate the stream with failure. After that you are not allowed to call #onNext, #onError and #onComplete.

    After signalling the Error the Actor will then stop itself as it has completed the protocol. When #onError is called before any Subscriber has had the chance to subscribe to this ActorPublisher the error signal (and therefore stopping of the Actor as well) will be delayed until such Subscriber arrives.

    Definition Classes
    ActorPublisher
  39. def onNext(element: T): Unit

    Send an element to the stream subscriber.

    Send an element to the stream subscriber. You are allowed to send as many elements as have been requested by the stream subscriber. This amount can be inquired with #totalDemand. It is only allowed to use onNext when isActive and totalDemand > 0, otherwise onNext will throw IllegalStateException.

    Definition Classes
    ActorPublisher
  40. def postRestart(reason: Throwable): Unit

    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  41. def postStop(): Unit

    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  42. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  43. def preStart(): Unit

    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  44. def receive: actor.Actor.Receive

    Definition Classes
    AbstractActor → Actor
  45. def receive(receive: Receive): Unit

    Attributes
    protected
    Definition Classes
    AbstractActor
    Annotations
    @throws( ... )
  46. implicit final val self: ActorRef

    Definition Classes
    Actor
  47. final def sender(): ActorRef

    Definition Classes
    Actor
  48. def subscriptionTimeout: Duration

    Subscription timeout after which this actor will become Canceled and reject any incoming "late" subscriber.

    Subscription timeout after which this actor will become Canceled and reject any incoming "late" subscriber.

    The actor will receive an SubscriptionTimeoutExceeded message upon which it MUST react by performing all necessary cleanup and stopping itself.

    Use this feature in order to avoid leaking actors when you suspect that this Publisher may never get subscribed to by some Subscriber.

    Definition Classes
    ActorPublisher
  49. def supervisorStrategy: SupervisorStrategy

    Definition Classes
    Actor
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  51. def toString(): String

    Definition Classes
    AnyRef → Any
  52. final def totalDemand: Long

    Total number of requested elements from the stream subscriber.

    Total number of requested elements from the stream subscriber. This actor automatically keeps tracks of this amount based on incoming request messages and outgoing onNext.

    Definition Classes
    ActorPublisher
  53. def unhandled(message: Any): Unit

    Definition Classes
    Actor
  54. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. def [B](y: B): (AbstractActorPublisher[T], B)

    Implicit information
    This member is added by an implicit conversion from AbstractActorPublisher[T] to ArrowAssoc[AbstractActorPublisher[T]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from AbstractActorPublisher[T] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (abstractActorPublisher: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from AbstractActorPublisher[T] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (abstractActorPublisher: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: AbstractActorPublisher[T]

    Implicit information
    This member is added by an implicit conversion from AbstractActorPublisher[T] to ArrowAssoc[AbstractActorPublisher[T]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (abstractActorPublisher: ArrowAssoc[AbstractActorPublisher[T]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: AbstractActorPublisher[T]

    Implicit information
    This member is added by an implicit conversion from AbstractActorPublisher[T] to Ensuring[AbstractActorPublisher[T]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (abstractActorPublisher: Ensuring[AbstractActorPublisher[T]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from ActorPublisher[T]

Inherited from AbstractActor

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AbstractActorPublisher[T] to StringAdd

Inherited by implicit conversion any2stringfmt from AbstractActorPublisher[T] to StringFormat

Inherited by implicit conversion any2ArrowAssoc from AbstractActorPublisher[T] to ArrowAssoc[AbstractActorPublisher[T]]

Inherited by implicit conversion any2Ensuring from AbstractActorPublisher[T] to Ensuring[AbstractActorPublisher[T]]

Ungrouped