Marker interface for cluster domain events.
Current snapshot of cluster node metrics.
Current snapshot of cluster node metrics. Published to subscribers.
Current snapshot state of the cluster.
Current snapshot state of the cluster. Sent to new subscriber.
Leader of the cluster members changed.
Leader of the cluster members changed. Published when the state change is first seen on a node.
Marker interface for membership events.
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.
Member status changed to MemberStatus.Exiting and will be removed
when all members have seen the Exiting
status.
Member completely removed from the cluster.
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 status changed to Up.
Marker interface to facilitate subscription of both UnreachableMember and ReachableMember.
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.
First member (leader) of the members within a role set changed.
First member (leader) of the members within a role set changed. Published when the state change is first seen on a node.
A member is considered as unreachable by the failure detector.
This event is published when the cluster node is shutting down, before the final MemberRemoved events are published.
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 a snapshot of akka.cluster.ClusterEvent.CurrentClusterState will be sent to the subscriber as the first message.
Java API: get the singleton instance of ClusterShuttingDown event
Java API
Java API
Domain events published to the event bus. Subscribe with: