struct Movie::Cluster::SingletonBackingIdentity

Overview

The complete compatibility identity of the singleton implementation below its public logical name. Keeping this structured avoids ambiguous delimiter strings while still providing a canonical key to cluster sharding.

Defined in:

movie/cluster/singleton/model.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(kind : SingletonBackingKind, entity_type_name : String | Nil, message_type_name : String, entity_id : String, settings_key : String, lease_duration : Time::Span | Nil = nil, lease_renew_interval : Time::Span | Nil = nil) #

[View source]

Instance Method Detail

def configuration_key : String #

[View source]
def entity_id : String #

[View source]
def entity_type_name : String | Nil #

[View source]
def kind : SingletonBackingKind #

[View source]
def lease_duration : Time::Span | Nil #

[View source]
def lease_renew_interval : Time::Span | Nil #

[View source]
def message_type_name : String #

[View source]
def settings_key : String #

[View source]