Marker interface for cluster domain events.
Marker interface for cluster domain events.
Not intended for user extension.
Current snapshot state of the cluster.
Current snapshot state of the cluster. Sent to new subscriber.
Marker interface to facilitate subscription of both UnreachableDataCenter and ReachableDataCenter.
Leader of the cluster data center of this node changed.
Leader of the cluster data center of this node changed. Published when the state change is first seen on a node.
Member status changed to MemberStatus.Down
and will be removed
when all members have seen the Down
status.
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 status changed to Joining.
Member status changed to Leaving.
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.
Member status changed to WeaklyUp.
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.
Marker interface to facilitate subscription of both UnreachableMember and ReachableMember.
A data center is considered reachable when all members from the data center are reachable
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 (in the same data center as this node, if data centers are used) changed.
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.
A data center is considered as unreachable when any members from the data center are unreachable
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: