Package org.apache.pekko.cluster.client
Class ClusterClientReceptionist
java.lang.Object
org.apache.pekko.cluster.client.ClusterClientReceptionist
- All Implemented Interfaces:
Extension
Deprecated.
Use Apache Pekko gRPC instead, see https://pekko.apache.org/docs/pekko/current/cluster-client.html#migration-to-pekko-grpc. Since Akka 2.6.0.
Extension that starts
ClusterReceptionist
and accompanying pekko.cluster.pubsub.DistributedPubSubMediator
with settings defined in config section pekko.cluster.client.receptionist
.
The pekko.cluster.pubsub.DistributedPubSubMediator
is started by the pekko.cluster.pubsub.DistributedPubSub
extension.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic T
apply
(ActorSystem system) Deprecated.static T
apply
(ClassicActorSystemProvider system) Deprecated.static ClusterClientReceptionist
createExtension
(ExtendedActorSystem system) Deprecated.static final boolean
Deprecated.static ClusterClientReceptionist
get
(ActorSystem system) Deprecated.static ClusterClientReceptionist
get
(ClassicActorSystemProvider system) Deprecated.static final int
hashCode()
Deprecated.boolean
Deprecated.Returns true if this member is not tagged with the role configured for the receptionist.static ClusterClientReceptionist$
lookup()
Deprecated.void
registerService
(ActorRef actor) Deprecated.Register an actor that should be reachable for the clients.void
registerSubscriber
(String topic, ActorRef actor) Deprecated.Register an actor that should be reachable for the clients to a named topic.Deprecated.Returns the underlying receptionist actor, particularly so that its events can be observed via subscribe/unsubscribe.void
unregisterService
(ActorRef actor) Deprecated.A registered actor will be automatically unregistered when terminated, but it can also be explicitly unregistered before termination.void
unregisterSubscriber
(String topic, ActorRef actor) Deprecated.A registered subscriber will be automatically unregistered when terminated, but it can also be explicitly unregistered before termination.
-
Constructor Details
-
ClusterClientReceptionist
Deprecated.
-
-
Method Details
-
get
Deprecated. -
get
Deprecated. -
lookup
Deprecated. -
createExtension
Deprecated. -
apply
Deprecated. -
apply
Deprecated. -
hashCode
public static final int hashCode()Deprecated. -
equals
Deprecated. -
isTerminated
public boolean isTerminated()Deprecated.Returns true if this member is not tagged with the role configured for the receptionist. -
registerService
Deprecated.Register an actor that should be reachable for the clients. The clients can send messages to this actor withSend
orSendToAll
using the path elements of theActorRef
, e.g."/user/myservice"
. -
unregisterService
Deprecated.A registered actor will be automatically unregistered when terminated, but it can also be explicitly unregistered before termination. -
registerSubscriber
Deprecated.Register an actor that should be reachable for the clients to a named topic. Several actors can be registered to the same topic name, and all will receive published messages. The client can publish messages to this topic withPublish
. -
unregisterSubscriber
Deprecated.A registered subscriber will be automatically unregistered when terminated, but it can also be explicitly unregistered before termination. -
underlying
Deprecated.Returns the underlying receptionist actor, particularly so that its events can be observed via subscribe/unsubscribe.
-