Package akka.cluster.client
Class ClusterClientReceptionist
- java.lang.Object
-
- akka.cluster.client.ClusterClientReceptionist
-
- All Implemented Interfaces:
Extension
public final class ClusterClientReceptionist extends java.lang.Object implements Extension
Deprecated.Use Akka gRPC instead, see https://doc.akka.io/libraries/akka-core/2.6/cluster-client.html#migration-to-akka-grpc. Since 2.6.0.Extension that startsClusterReceptionist
and accompanyingDistributedPubSubMediator
with settings defined in config sectionakka.cluster.client.receptionist
. TheDistributedPubSubMediator
is started by theDistributedPubSub
extension.
-
-
Constructor Summary
Constructors Constructor Description ClusterClientReceptionist(ExtendedActorSystem system)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static T
apply(ActorSystem system)
Deprecated.static T
apply(ClassicActorSystemProvider system)
Deprecated.static ClusterClientReceptionist
createExtension(ExtendedActorSystem system)
Deprecated.static boolean
equals(java.lang.Object other)
Deprecated.static ClusterClientReceptionist
get(ActorSystem system)
Deprecated.static ClusterClientReceptionist
get(ClassicActorSystemProvider system)
Deprecated.static int
hashCode()
Deprecated.boolean
isTerminated()
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(java.lang.String topic, ActorRef actor)
Deprecated.Register an actor that should be reachable for the clients to a named topic.ActorRef
underlying()
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(java.lang.String topic, ActorRef actor)
Deprecated.A registered subscriber will be automatically unregistered when terminated, but it can also be explicitly unregistered before termination.
-
-
-
Constructor Detail
-
ClusterClientReceptionist
public ClusterClientReceptionist(ExtendedActorSystem system)
Deprecated.
-
-
Method Detail
-
get
public static ClusterClientReceptionist get(ActorSystem system)
Deprecated.
-
get
public static ClusterClientReceptionist get(ClassicActorSystemProvider system)
Deprecated.
-
lookup
public static ClusterClientReceptionist$ lookup()
Deprecated.
-
createExtension
public static ClusterClientReceptionist createExtension(ExtendedActorSystem system)
Deprecated.
-
apply
public static T apply(ActorSystem system)
Deprecated.
-
apply
public static T apply(ClassicActorSystemProvider system)
Deprecated.
-
hashCode
public static final int hashCode()
Deprecated.
-
equals
public static final boolean equals(java.lang.Object other)
Deprecated.
-
isTerminated
public boolean isTerminated()
Deprecated.Returns true if this member is not tagged with the role configured for the receptionist.
-
registerService
public void registerService(ActorRef actor)
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
public void unregisterService(ActorRef actor)
Deprecated.A registered actor will be automatically unregistered when terminated, but it can also be explicitly unregistered before termination.
-
registerSubscriber
public void registerSubscriber(java.lang.String topic, ActorRef actor)
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
public void unregisterSubscriber(java.lang.String topic, ActorRef actor)
Deprecated.A registered subscriber will be automatically unregistered when terminated, but it can also be explicitly unregistered before termination.
-
underlying
public ActorRef underlying()
Deprecated.Returns the underlying receptionist actor, particularly so that its events can be observed via subscribe/unsubscribe.
-
-