Packages

c

akka.cluster.ClusterEvent

RoleLeaderChanged

final case class RoleLeaderChanged(role: String, leader: Option[Address]) extends ClusterDomainEvent with Product with Serializable

First member (leader) of the members within a role set (in the same data center as this node, if data centers are used) changed. Published when the state change is first seen on a node.

Source
ClusterEvent.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RoleLeaderChanged
  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 RoleLeaderChanged(role: String, 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]
  3. val role: String