enum

AtomSpace::ClusterEvent

Inherits Enum < Comparable < Value < Object

Events emitted by the distributed cluster

Constants

NODE_JOINED = 0
NODE_LEFT = 1
SYNC_STARTED = 2
SYNC_COMPLETED = 3
CONFLICT_DETECTED = 4
CONFLICT_RESOLVED = 5
PARTITION_REBALANCED = 6

Instance methods

conflict_detected?

Returns true if this enum value equals CONFLICT_DETECTED

Source
conflict_resolved?

Returns true if this enum value equals CONFLICT_RESOLVED

Source
node_joined?

Returns true if this enum value equals NODE_JOINED

Source
node_left?

Returns true if this enum value equals NODE_LEFT

Source
partition_rebalanced?

Returns true if this enum value equals PARTITION_REBALANCED

Source
sync_completed?

Returns true if this enum value equals SYNC_COMPLETED

Source
sync_started?

Returns true if this enum value equals SYNC_STARTED

Source