ClusterActorRef
Represents a reference to an actor in a distributed cluster system.
This class is responsible for enabling communication with a remote actor residing on a node within a clustered environment. It interacts with the specified node using an RPC (Remote Procedure Call) service to send messages, query actor states, and manage actor lifecycle operations such as shutdown.
The ClusterActorRef
acts as a proxy for the remote actor, abstracting the complexities of network communication and providing a unified interface for interaction.
Parameters
The network address of the actor within the cluster.
The RPC service used to communicate with the remote actor.
Functions
Sends a message to the target actor and waits for a response within a specified timeout.
Retrieves statistical information about the actor.
Retrieves the current status of the actor.
Sends a message to the actor identified by the given address.