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 startsClusterReceptionistand accompanyingDistributedPubSubMediatorwith settings defined in config sectionakka.cluster.client.receptionist. TheDistributedPubSubMediatoris started by theDistributedPubSubextension.
-
-
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 Tapply(ActorSystem system)Deprecated.static Tapply(ClassicActorSystemProvider system)Deprecated.static ClusterClientReceptionistcreateExtension(ExtendedActorSystem system)Deprecated.static booleanequals(java.lang.Object other)Deprecated.static ClusterClientReceptionistget(ActorSystem system)Deprecated.static ClusterClientReceptionistget(ClassicActorSystemProvider system)Deprecated.static inthashCode()Deprecated.booleanisTerminated()Deprecated.Returns true if this member is not tagged with the role configured for the receptionist.static ClusterClientReceptionist$lookup()Deprecated.voidregisterService(ActorRef actor)Deprecated.Register an actor that should be reachable for the clients.voidregisterSubscriber(java.lang.String topic, ActorRef actor)Deprecated.Register an actor that should be reachable for the clients to a named topic.ActorRefunderlying()Deprecated.Returns the underlying receptionist actor, particularly so that its events can be observed via subscribe/unsubscribe.voidunregisterService(ActorRef actor)Deprecated.A registered actor will be automatically unregistered when terminated, but it can also be explicitly unregistered before termination.voidunregisterSubscriber(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 withSendorSendToAllusing 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.
-
-