Class ReceptionistMessages.Registered<T>
- java.lang.Object
-
- akka.actor.typed.internal.receptionist.ReceptionistMessages.Registered<T>
-
- All Implemented Interfaces:
Receptionist.Registered
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- ReceptionistMessages
public static final class ReceptionistMessages.Registered<T> extends java.lang.Object implements Receptionist.Registered, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActorRef<T>
_serviceInstance()
boolean
canEqual(java.lang.Object x$1)
<T> ReceptionistMessages.Registered<T>
copy(ServiceKey<T> key, ActorRef<T> _serviceInstance)
<T> ServiceKey<T>
copy$default$1()
<T> ActorRef<T>
copy$default$2()
boolean
equals(java.lang.Object x$1)
<M> ActorRef<M>
getServiceInstance(ServiceKey<M> key)
Java APIint
hashCode()
boolean
isForKey(ServiceKey<?> key)
ServiceKey<T>
key()
Scala APIint
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
<M> ActorRef<M>
serviceInstance(ServiceKey<M> key)
Scala APIjava.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface akka.actor.typed.receptionist.Receptionist.Registered
getKey
-
-
-
-
Method Detail
-
key
public ServiceKey<T> key()
Description copied from interface:Receptionist.Registered
Scala API- Specified by:
key
in interfaceReceptionist.Registered
-
isForKey
public boolean isForKey(ServiceKey<?> key)
- Specified by:
isForKey
in interfaceReceptionist.Registered
-
serviceInstance
public <M> ActorRef<M> serviceInstance(ServiceKey<M> key)
Description copied from interface:Receptionist.Registered
Scala APIAlso, see
ServiceKey.Listing
for more convenient pattern matching- Specified by:
serviceInstance
in interfaceReceptionist.Registered
-
getServiceInstance
public <M> ActorRef<M> getServiceInstance(ServiceKey<M> key)
Description copied from interface:Receptionist.Registered
Java API- Specified by:
getServiceInstance
in interfaceReceptionist.Registered
-
copy
public <T> ReceptionistMessages.Registered<T> copy(ServiceKey<T> key, ActorRef<T> _serviceInstance)
-
copy$default$1
public <T> ServiceKey<T> copy$default$1()
-
copy$default$2
public <T> ActorRef<T> copy$default$2()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-