RoleLeaderChanged

org.apache.pekko.cluster.ClusterEvent.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.

Attributes

Source
ClusterEvent.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Java API

Java API

Attributes

Returns

address of current leader, or null if none

Source
ClusterEvent.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product