abstract class ActorEventBus[E] extends EventBus[E, ActorRef, ActorRef]
Java API: See documentation for akka.event.ActorClassification An EventBus where the Subscribers are ActorRefs and the Classifier is ActorRef Means that ActorRefs "listen" to other ActorRefs E is the Event type
- Annotations
- @deprecated
- Deprecated
(Since version 2.4) Use ManagedActorEventBus instead
- Source
- EventBusJavaAPI.scala
- Alphabetic
- By Inheritance
- ActorEventBus
- EventBus
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ActorEventBus()
Abstract Value Members
-
abstract
def
classify(event: E): ActorRef
Returns the Classifier associated with the given Event
Returns the Classifier associated with the given Event
- Attributes
- protected
-
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
Concrete 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 ActorEventBus[E] to any2stringadd[ActorEventBus[E]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ActorEventBus[E], B)
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to ArrowAssoc[ActorEventBus[E]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
ensuring(cond: (ActorEventBus[E]) ⇒ Boolean, msg: ⇒ Any): ActorEventBus[E]
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to Ensuring[ActorEventBus[E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ActorEventBus[E]) ⇒ Boolean): ActorEventBus[E]
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to Ensuring[ActorEventBus[E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ActorEventBus[E]
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to Ensuring[ActorEventBus[E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ActorEventBus[E]
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to Ensuring[ActorEventBus[E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- 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 ActorEventBus[E] to StringFormat[ActorEventBus[E]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
publish(event: E): Unit
Publishes the specified Event to this bus
Publishes the specified Event to this bus
- Definition Classes
- ActorEventBus → EventBus
-
def
subscribe(subscriber: ActorRef, to: ActorRef): Boolean
Attempts to register the subscriber to the specified Classifier
Attempts to register the subscriber to the specified Classifier
- returns
true if successful and false if not (because it was already subscribed to that Classifier, or otherwise)
- Definition Classes
- ActorEventBus → EventBus
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unsubscribe(subscriber: ActorRef): Unit
Attempts to deregister the subscriber from all Classifiers it may be subscribed to
Attempts to deregister the subscriber from all Classifiers it may be subscribed to
- Definition Classes
- ActorEventBus → EventBus
-
def
unsubscribe(subscriber: ActorRef, from: ActorRef): Boolean
Attempts to deregister the subscriber from the specified Classifier
Attempts to deregister the subscriber from the specified Classifier
- returns
true if successful and false if not (because it wasn't subscribed to that Classifier, or otherwise)
- Definition Classes
- ActorEventBus → EventBus
-
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( ... )
-
def
→[B](y: B): (ActorEventBus[E], B)
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to ArrowAssoc[ActorEventBus[E]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Inherited from AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )
Inherited from Any
Inherited by implicit conversion any2stringadd from ActorEventBus[E] to any2stringadd[ActorEventBus[E]]
Value Members
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to any2stringadd[ActorEventBus[E]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
Inherited by implicit conversion StringFormat from ActorEventBus[E] to StringFormat[ActorEventBus[E]]
Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to StringFormat[ActorEventBus[E]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
Inherited by implicit conversion Ensuring from ActorEventBus[E] to Ensuring[ActorEventBus[E]]
Value Members
-
def
ensuring(cond: (ActorEventBus[E]) ⇒ Boolean, msg: ⇒ Any): ActorEventBus[E]
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to Ensuring[ActorEventBus[E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ActorEventBus[E]) ⇒ Boolean): ActorEventBus[E]
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to Ensuring[ActorEventBus[E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ActorEventBus[E]
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to Ensuring[ActorEventBus[E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ActorEventBus[E]
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to Ensuring[ActorEventBus[E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
Inherited by implicit conversion ArrowAssoc from ActorEventBus[E] to ArrowAssoc[ActorEventBus[E]]
Value Members
-
def
->[B](y: B): (ActorEventBus[E], B)
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to ArrowAssoc[ActorEventBus[E]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
def
→[B](y: B): (ActorEventBus[E], B)
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to ArrowAssoc[ActorEventBus[E]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Ungrouped
-
abstract
def
classify(event: E): ActorRef
Returns the Classifier associated with the given Event
Returns the Classifier associated with the given Event
- Attributes
- protected
-
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
-
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 ActorEventBus[E] to any2stringadd[ActorEventBus[E]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ActorEventBus[E], B)
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to ArrowAssoc[ActorEventBus[E]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
ensuring(cond: (ActorEventBus[E]) ⇒ Boolean, msg: ⇒ Any): ActorEventBus[E]
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to Ensuring[ActorEventBus[E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ActorEventBus[E]) ⇒ Boolean): ActorEventBus[E]
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to Ensuring[ActorEventBus[E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ActorEventBus[E]
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to Ensuring[ActorEventBus[E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ActorEventBus[E]
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to Ensuring[ActorEventBus[E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- 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 ActorEventBus[E] to StringFormat[ActorEventBus[E]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
publish(event: E): Unit
Publishes the specified Event to this bus
Publishes the specified Event to this bus
- Definition Classes
- ActorEventBus → EventBus
-
def
subscribe(subscriber: ActorRef, to: ActorRef): Boolean
Attempts to register the subscriber to the specified Classifier
Attempts to register the subscriber to the specified Classifier
- returns
true if successful and false if not (because it was already subscribed to that Classifier, or otherwise)
- Definition Classes
- ActorEventBus → EventBus
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unsubscribe(subscriber: ActorRef): Unit
Attempts to deregister the subscriber from all Classifiers it may be subscribed to
Attempts to deregister the subscriber from all Classifiers it may be subscribed to
- Definition Classes
- ActorEventBus → EventBus
-
def
unsubscribe(subscriber: ActorRef, from: ActorRef): Boolean
Attempts to deregister the subscriber from the specified Classifier
Attempts to deregister the subscriber from the specified Classifier
- returns
true if successful and false if not (because it wasn't subscribed to that Classifier, or otherwise)
- Definition Classes
- ActorEventBus → EventBus
-
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( ... )
-
def
→[B](y: B): (ActorEventBus[E], B)
- Implicit
- This member is added by an implicit conversion from ActorEventBus[E] to ArrowAssoc[ActorEventBus[E]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc