RoleLeaderChanged

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

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
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Java API

Java API

Returns:

address of current leader, or null if none

Source:
ClusterEvent.scala

Inherited methods

Inherited from:
Product