Packages

c

akka.cluster.ClusterEvent

LeaderChanged

final case class LeaderChanged(leader: Option[Address]) extends ClusterDomainEvent with Product with Serializable

Leader of the cluster data center of this node changed. Published when the state change is first seen on a node.

Source
ClusterEvent.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LeaderChanged
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ClusterDomainEvent
  7. DeadLetterSuppression
  8. AnyRef
  9. 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 LeaderChanged(leader: Option[Address])

Value Members

  1. def getLeader: Address

    Java API

    Java API

    returns

    address of current leader, or null if none

  2. val leader: Option[Address]