LeaderChanged

org.apache.pekko.cluster.ClusterEvent.LeaderChanged
final case class LeaderChanged(leader: Option[Address]) extends ClusterDomainEvent

Leader of the cluster data center of this node 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