class

Clustering

Inherits Reference < Object

Constructors

new(service : String)
Source

Instance methods

cluster_stable_callbacks
Source
node_hash

returns a node_id => URI mapping

Source
on_cluster_stable

Called on leader node when the cluster has stabilised

Source
on_rebalance

Called when the cluster has changed

Source
rebalance_callbacks
Source
register

registers this node with the cluster as a member

Source
registered?

is this node registered as part of the cluster

Source
rendezvous

returns the list of known nodes

Source
service

the name of the service you are clustering

Source
ulid

the id of the node

Source
unregister

removes this node from the cluster as a member

Source
uri

the service uri for this host

Source
version
Source
watching?

is this class watching for changes to the cluster this should return true if registered returns true

Source

Nested types