Package akka.actor.typed.receptionist
Class Receptionist.Deregister$
- java.lang.Object
-
- akka.actor.typed.receptionist.Receptionist.Deregister$
-
- Enclosing class:
- Receptionist
public static class Receptionist.Deregister$ extends java.lang.Object
Remove association between the givenActorRef
and the givenServiceKey
.Deregistration can be acknowledged with the
Receptionist.Deregistered
message if the deregister message is created with areplyTo
actor.Note that getting the
Receptionist.Deregistered
confirmation does not mean all service key subscribers has seen the fact that the actor has been deregistered yet (especially in a clustered context) so it will be possible that messages sent to the actor in the role of service provider arrive even after getting the confirmation.
-
-
Field Summary
Fields Modifier and Type Field Description static Receptionist.Deregister$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description Deregister$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Receptionist.Command
apply(ServiceKey<T> key, ActorRef<T> service)
Create a Deregister without Ack that the service was deregistered<T> Receptionist.Command
apply(ServiceKey<T> key, ActorRef<T> service, ActorRef<Receptionist.Deregistered> replyTo)
Create a Deregister with an actor that will get an ack that the service was unregistered
-
-
-
Field Detail
-
MODULE$
public static final Receptionist.Deregister$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public <T> Receptionist.Command apply(ServiceKey<T> key, ActorRef<T> service)
Create a Deregister without Ack that the service was deregistered
-
apply
public <T> Receptionist.Command apply(ServiceKey<T> key, ActorRef<T> service, ActorRef<Receptionist.Deregistered> replyTo)
Create a Deregister with an actor that will get an ack that the service was unregistered
-
-