class Movie::Cluster::ClusterSingletonRef(T)

Defined in:

movie/cluster/singleton/ref.cr

Constructors

Instance Method Summary

Instance methods inherited from class Movie::ActorRefBase

id : Int32 id, path : ActorPath | Nil path, path=(path : ActorPath | Nil) path=, remote_peer_address : Address | Nil remote_peer_address, remote_peer_node_uid : String | Nil remote_peer_node_uid, send_system(message : SystemMessage) send_system

Constructor methods inherited from class Movie::ActorRefBase

new(id : Int32, path : ActorPath | Nil = nil) new

Constructor Detail

def self.new(extension : Movie::ClusterSingletonExtension, name : String, delegate : ShardedEntityRef(T)) #

[View source]

Instance Method Detail

def <<(message : T) : Nil #

[View source]
def ask(message : T, response_type : R.class, timeout : Time::Span = 30.seconds) : Movie::Future(R) forall R #

[View source]
def locally_owned? : Bool #

[View source]
def name : String #

[View source]
def owner : UniqueAddress | Nil #

[View source]
def send_system(message : Movie::SystemMessage) : Nil #

[View source]
def tell_from(sender : Movie::ActorRefBase | Nil, message : T) : Nil #

[View source]