t

org.apache.pekko.event

ManagedActorClassification

trait ManagedActorClassification extends AnyRef

Maps ActorRefs to ActorRefs to form an EventBus where ActorRefs can listen to other ActorRefs.

All subscribers will be watched by an org.apache.pekko.event.ActorClassificationUnsubscriber and unsubscribed when they terminate. The unsubscriber actor will not be stopped automatically, and if you want to stop using the bus you should stop it yourself.

Self Type
ManagedActorClassification with ActorEventBus with ActorClassifier
Source
EventBus.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ManagedActorClassification
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def classify(event: (ManagedActorClassification.this)#Event): (ManagedActorClassification.this)#Classifier

    Returns the Classifier associated with the specified Event

    Returns the Classifier associated with the specified Event

    Attributes
    protected
  2. abstract def mapSize: Int

    This is a size hint for the number of Classifiers you expect to have (use powers of 2)

    This is a size hint for the number of Classifiers you expect to have (use powers of 2)

    Attributes
    protected
  3. abstract def system: ActorSystem
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ManagedActorClassification toany2stringadd[ManagedActorClassification] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ManagedActorClassification, B)
    Implicit
    This member is added by an implicit conversion from ManagedActorClassification toArrowAssoc[ManagedActorClassification] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. final def associate(monitored: ActorRef, monitor: ActorRef): Boolean
    Attributes
    protected
    Annotations
    @tailrec()
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  9. final def dissociate(monitored: ActorRef, monitor: ActorRef): Boolean
    Attributes
    protected
    Annotations
    @tailrec()
  10. final def dissociate(actor: ActorRef): Unit
    Attributes
    protected
  11. def ensuring(cond: (ManagedActorClassification) => Boolean, msg: => Any): ManagedActorClassification
    Implicit
    This member is added by an implicit conversion from ManagedActorClassification toEnsuring[ManagedActorClassification] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (ManagedActorClassification) => Boolean): ManagedActorClassification
    Implicit
    This member is added by an implicit conversion from ManagedActorClassification toEnsuring[ManagedActorClassification] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): ManagedActorClassification
    Implicit
    This member is added by an implicit conversion from ManagedActorClassification toEnsuring[ManagedActorClassification] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): ManagedActorClassification
    Implicit
    This member is added by an implicit conversion from ManagedActorClassification toEnsuring[ManagedActorClassification] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  23. def publish(event: (ManagedActorClassification.this)#Event): Unit
  24. def subscribe(subscriber: (ManagedActorClassification.this)#Subscriber, to: (ManagedActorClassification.this)#Classifier): Boolean
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def unsubscribe(subscriber: (ManagedActorClassification.this)#Subscriber): Unit
  28. def unsubscribe(subscriber: (ManagedActorClassification.this)#Subscriber, from: (ManagedActorClassification.this)#Classifier): Boolean
  29. lazy val unsubscriber: ActorRef

    The unsubscriber takes care of unsubscribing actors, which have terminated.

    The unsubscriber takes care of unsubscribing actors, which have terminated.

    Attributes
    protected
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ManagedActorClassification toStringFormat[ManagedActorClassification] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (ManagedActorClassification, B)
    Implicit
    This member is added by an implicit conversion from ManagedActorClassification toArrowAssoc[ManagedActorClassification] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromManagedActorClassification to any2stringadd[ManagedActorClassification]

Inherited by implicit conversion StringFormat fromManagedActorClassification to StringFormat[ManagedActorClassification]

Inherited by implicit conversion Ensuring fromManagedActorClassification to Ensuring[ManagedActorClassification]

Inherited by implicit conversion ArrowAssoc fromManagedActorClassification to ArrowAssoc[ManagedActorClassification]

Ungrouped