Not intended for user extension.
Not intended for user extension.
Not intended for user extension.
Not intended for user extension.
Not intended for user extension.
Not intended for user extension.
Messages for subscribing to changes in the cluster state
Messages for subscribing to changes in the cluster state
Not intended for user extension.
Send command to DOWN the node specified by 'address'.
Send command to DOWN the node specified by 'address'.
When a member is considered by the failure detector to be unreachable the leader is not allowed to perform its duties, such as changing status of new joining members to 'Up'. The status of the unreachable member must be changed to 'Down', which can be done with this method.
Try to join this cluster node with the node specified by 'address'.
Try to join this cluster node with the node specified by 'address'.
An actor system can only join a cluster once. Additional attempts will be ignored. When it has successfully joined it must be restarted to be able to join another cluster or to join the same cluster again.
The name of the akka.actor.ActorSystem must be the same for all members of a cluster.
Scala API: Join the specified seed nodes without defining them in config.
Scala API: Join the specified seed nodes without defining them in config. Especially useful from tests when Addresses are unknown before startup time.
An actor system can only join a cluster once. Additional attempts will be ignored. When it has successfully joined it must be restarted to be able to join another cluster or to join the same cluster again.
Send command to issue state transition to LEAVING for the node specified by 'address'.
Send command to issue state transition to LEAVING for the node specified by 'address'.
The member will go through the status changes MemberStatus Leaving
(not published to
subscribers) followed by MemberStatus Exiting
and finally MemberStatus Removed
.
Note that this command can be issued to any member in the cluster, not necessarily the one that is leaving. The cluster extension, but not the actor system or JVM, of the leaving member will be shutdown after the leader has changed status of the member to Exiting. Thereafter the member will be removed from the cluster. Normally this is handled automatically, but in case of network failures during this process it might still be necessary to set the node’s status to Down in order to complete the removal.
Subscribe to this node being removed from the cluster.
Subscribe to this node being removed from the cluster. If the node was already removed from the cluster when this subscription is created it will be responded to immediately from the subscriptions actor.
Note: Only emitted for the typed cluster.
Subscribe to this node being up, after sending this event the subscription is automatically cancelled.
Subscribe to this node being up, after sending this event the subscription is automatically cancelled. If the node is already up the event is also sent to the subscriber. If the node was up but is no more because it left or is leaving the cluster, no event is sent and the subscription request is ignored.
Note: Only emitted for the typed cluster.
Subscribe to cluster state changes.
Subscribe to cluster state changes. The initial state of the cluster will be sent as a "replay" of the subscribed events.
A subscriber that will receive events until it is unsubscribed or stops
The type of events to subscribe to, can be individual event types such as
ReachabilityEvent
or one of the common supertypes, such as MemberEvent
to get
all the subtypes of events.
Akka Typed Cluster API entry point