final case class Subscribe[A <: ClusterDomainEvent](subscriber: ActorRef[A], eventClass: Class[A]) extends ClusterStateSubscription with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- Subscribe
- Serializable
- Product
- Equals
- ClusterStateSubscription
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Subscribe(subscriber: ActorRef[A], eventClass: Class[A])
- subscriber
A subscriber that will receive events until it is unsubscribed or stops
- eventClass
The type of events to subscribe to, can be individual event types such as
ReachabilityEvent
or one of the common supertypes, such asMemberEvent
to get all the subtypes of events.
Subscribe to cluster state changes. The initial state of the cluster will be sent as a "replay" of the subscribed events.
A subscriber that will receive events until it is unsubscribed or stops
The type of events to subscribe to, can be individual event types such as
ReachabilityEvent
or one of the common supertypes, such asMemberEvent
to get all the subtypes of events.