ClusterEvent
Domain events published to the event bus. Subscribe with:
Cluster(system).subscribe(actorRef, classOf[ClusterDomainEvent])
Attributes
- Source
- ClusterEvent.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ClusterEvent.type
Members list
Type members
Classlikes
Marker interface for cluster domain events.
Marker interface for cluster domain events.
Not intended for user extension.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
- Known subtypes
-
object ClusterShuttingDownclass ReachableDataCenterclass UnreachableDataCenterclass LeaderChangedtrait MemberEventclass MemberDownedclass MemberExitedclass MemberJoinedclass MemberLeftclass MemberReadyForShutdownclass MemberRemovedclass MemberUpclass MemberWeaklyUptrait ReachabilityEventclass ReachableMemberclass UnreachableMemberclass RoleLeaderChangedShow all
This event is published when the cluster node is shutting down, before the final MemberRemoved events are published.
This event is published when the cluster node is shutting down, before the final MemberRemoved events are published.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
- Self type
-
ClusterShuttingDown.type
Current snapshot state of the cluster. Sent to new subscriber.
Current snapshot state of the cluster. Sent to new subscriber.
Value parameters
- leader
-
leader of the data center of this node
- memberTombstones
-
INTERNAL API
Attributes
- Companion
- object
- Source
- ClusterEvent.scala
- Supertypes
Attributes
- Companion
- class
- Source
- ClusterEvent.scala
- Supertypes
- Self type
-
CurrentClusterState.type
Marker interface to facilitate subscription of both UnreachableDataCenter and ReachableDataCenter.
Marker interface to facilitate subscription of both UnreachableDataCenter and ReachableDataCenter.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
- Known subtypes
-
class ReachableDataCenterclass UnreachableDataCenter
When using this subscription mode the events corresponding to the current state will be sent to the subscriber to mimic what you would have seen if you were listening to the events when they occurred in the past.
When using this subscription mode the events corresponding to the current state will be sent to the subscriber to mimic what you would have seen if you were listening to the events when they occurred in the past.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
- Self type
-
InitialStateAsEvents.type
When using this subscription mode a snapshot of pekko.cluster.ClusterEvent.CurrentClusterState will be sent to the subscriber as the first message.
When using this subscription mode a snapshot of pekko.cluster.ClusterEvent.CurrentClusterState will be sent to the subscriber as the first message.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
- Self type
Leader of the cluster data center of this node changed. Published when the state change is first seen on a node.
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
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
Member status changed to MemberStatus.Down and will be removed when all members have seen the Down status.
Member status changed to MemberStatus.Down and will be removed when all members have seen the Down status.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MemberEventtrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
Marker interface for membership events. Published when the state change is first seen on a node. The state change was performed by the leader when there was convergence on the leader node, i.e. all members had seen previous state.
Marker interface for membership events. Published when the state change is first seen on a node. The state change was performed by the leader when there was convergence on the leader node, i.e. all members had seen previous state.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
- Known subtypes
-
class MemberDownedclass MemberExitedclass MemberJoinedclass MemberLeftclass MemberReadyForShutdownclass MemberRemovedclass MemberUpclass MemberWeaklyUpShow all
Member status changed to MemberStatus.Exiting and will be removed when all members have seen the Exiting status.
Member status changed to MemberStatus.Exiting and will be removed when all members have seen the Exiting status.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MemberEventtrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
Member status changed to Joining.
Member status changed to Joining.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MemberEventtrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
Member status changed to Leaving.
Member status changed to Leaving.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MemberEventtrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- ClusterEvent.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MemberEventtrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- ClusterEvent.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MemberEventtrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
Member completely removed from the cluster. When previousStatus is MemberStatus.Down the node was removed after being detected as unreachable and downed. When previousStatus is MemberStatus.Exiting the node was removed after graceful leaving and exiting.
Member completely removed from the cluster. When previousStatus is MemberStatus.Down the node was removed after being detected as unreachable and downed. When previousStatus is MemberStatus.Exiting the node was removed after graceful leaving and exiting.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MemberEventtrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
Member status changed to Up.
Member status changed to Up.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MemberEventtrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
Member status changed to WeaklyUp. A joining member can be moved to WeaklyUp if convergence cannot be reached, i.e. there are unreachable nodes. It will be moved to Up when convergence is reached.
Member status changed to WeaklyUp. A joining member can be moved to WeaklyUp if convergence cannot be reached, i.e. there are unreachable nodes. It will be moved to Up when convergence is reached.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MemberEventtrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
Marker interface to facilitate subscription of both UnreachableMember and ReachableMember.
Marker interface to facilitate subscription of both UnreachableMember and ReachableMember.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
- Known subtypes
-
class ReachableMemberclass UnreachableMember
A data center is considered reachable when all members from the data center are reachable
A data center is considered reachable when all members from the data center are reachable
Attributes
- Source
- ClusterEvent.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
A member is considered as reachable by the failure detector after having been unreachable.
A member is considered as reachable by the failure detector after having been unreachable.
Attributes
- See also
- Source
- ClusterEvent.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ReachabilityEventtrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
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.
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
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- ClusterEvent.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object InitialStateAsEventsobject InitialStateAsSnapshot
A data center is considered as unreachable when any members from the data center are unreachable
A data center is considered as unreachable when any members from the data center are unreachable
Attributes
- Source
- ClusterEvent.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
A member is considered as unreachable by the failure detector.
A member is considered as unreachable by the failure detector.
Attributes
- Source
- ClusterEvent.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ReachabilityEventtrait ClusterDomainEventtrait DeadLetterSuppressionclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Java API: get the singleton instance of ClusterShuttingDown event
Java API: get the singleton instance of ClusterShuttingDown event
Attributes
- Source
- ClusterEvent.scala
Java API
Java API