class Movie::PathRegistry

Overview

PathRegistry for local actor path lookups (moved from Remote module for unified access) Uses normalized keys (system:path) to allow lookups regardless of protocol/host/port.

Defined in:

movie.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def clear #

[View source]
def path_for(ref : ActorRefBase) : ActorPath | Nil #

[View source]
def path_for(id : Int32) : ActorPath | Nil #

[View source]
def register(ref : ActorRefBase, path : ActorPath) #

[View source]
def registered?(path : ActorPath) : Bool #

[View source]
def resolve(path : ActorPath) : Int32 | Nil #

[View source]
def resolve(path_str : String) : Int32 | Nil #

[View source]
def size : Int32 #

[View source]
def unregister(ref : ActorRefBase) #

[View source]
def unregister(id : Int32) #

[View source]