Packages

final case class Subscribe[A <: ClusterDomainEvent](subscriber: ActorRef[A], eventClass: Class[A]) extends ClusterStateSubscription with Product with Serializable

Subscribe to cluster state changes. The initial state of the cluster will be sent as a "replay" of the subscribed events.

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 as MemberEvent to get all the subtypes of events.

Source
Cluster.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Subscribe
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ClusterStateSubscription
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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 as MemberEvent to get all the subtypes of events.

Value Members

  1. val eventClass: Class[A]
  2. val subscriber: ActorRef[A]