struct

Swim::Member

Inherits JSON::Serializable / Struct / Value / Object

A functional representation of a cluster member. Instances are immutable; state changes are handled by replacing the record.

Constructors

new(id : String, address : String, incarnation : UInt64, state : State)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

address
clone
Source
copy_with(id _id = @id, address _address = @address, incarnation _incarnation = @incarnation, state _state = @state)
Source
id
incarnation
overrides?(other : Member) : Bool

Determines if this member's state should overwrite an existing member's state, following standard SWIM conflict resolution rules.

Source
state