class Movie::Cluster::SingletonRegistration(T)

Defined in:

movie/cluster/singleton/model.cr

Constructors

Instance Method Summary

Instance methods inherited from class Movie::Cluster::SingletonRegistrationBase

activate : Movie::Future(ShardingControlAck) activate, backing_identity : SingletonBackingIdentity backing_identity, handoff_in_progress? : Bool handoff_in_progress?, message_type_name : String message_type_name, name : String name, owner : UniqueAddress | Nil owner, settings : SingletonSettings settings

Constructor methods inherited from class Movie::Cluster::SingletonRegistrationBase

new(name : String, message_type_name : String, settings : SingletonSettings, backing_identity : SingletonBackingIdentity) new

Constructor Detail

def self.new(name : String, settings : SingletonSettings, backing_identity : SingletonBackingIdentity, sharding : Movie::ClusterShardingExtension, entity_type : ShardedEntityType(T), entity_id : String, extension : Movie::ClusterSingletonExtension) #

[View source]

Instance Method Detail


[View source]
def handoff_in_progress? : Bool #

[View source]
def owner : UniqueAddress | Nil #

[View source]
def ref : ClusterSingletonRef(T) #

[View source]