Class ReceptionistMessages.Listing<T>
- java.lang.Object
-
- akka.actor.typed.internal.receptionist.ReceptionistMessages.Listing<T>
-
- All Implemented Interfaces:
Receptionist.Listing
,java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
- Enclosing class:
- ReceptionistMessages
public static final class ReceptionistMessages.Listing<T> extends java.lang.Object implements Receptionist.Listing, scala.Product, scala.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Listing(ServiceKey<T> key, scala.collection.immutable.Set<ActorRef<T>> _serviceInstances)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.collection.immutable.Set<ActorRef<T>>
_serviceInstances()
boolean
canEqual(java.lang.Object x$1)
<T> ReceptionistMessages.Listing<T>
copy(ServiceKey<T> key, scala.collection.immutable.Set<ActorRef<T>> _serviceInstances)
<T> ServiceKey<T>
copy$default$1()
<T> scala.collection.immutable.Set<ActorRef<T>>
copy$default$2()
boolean
equals(java.lang.Object x$1)
<M> java.util.Set<ActorRef<M>>
getServiceInstances(ServiceKey<M> key)
Java APIint
hashCode()
boolean
isForKey(ServiceKey<?> key)
ServiceKey<T>
key()
Scala APIint
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
<M> scala.collection.immutable.Set<ActorRef<M>>
serviceInstances(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.Listing
getKey
-
-
-
-
Constructor Detail
-
Listing
public Listing(ServiceKey<T> key, scala.collection.immutable.Set<ActorRef<T>> _serviceInstances)
-
-
Method Detail
-
key
public ServiceKey<T> key()
Description copied from interface:Receptionist.Listing
Scala API- Specified by:
key
in interfaceReceptionist.Listing
-
isForKey
public boolean isForKey(ServiceKey<?> key)
- Specified by:
isForKey
in interfaceReceptionist.Listing
-
serviceInstances
public <M> scala.collection.immutable.Set<ActorRef<M>> serviceInstances(ServiceKey<M> key)
Description copied from interface:Receptionist.Listing
Scala APIAlso, see
ServiceKey.Listing
for more convenient pattern matching- Specified by:
serviceInstances
in interfaceReceptionist.Listing
- Parameters:
key
- (undocumented)- Returns:
- (undocumented)
-
getServiceInstances
public <M> java.util.Set<ActorRef<M>> getServiceInstances(ServiceKey<M> key)
Description copied from interface:Receptionist.Listing
Java API- Specified by:
getServiceInstances
in interfaceReceptionist.Listing
-
copy
public <T> ReceptionistMessages.Listing<T> copy(ServiceKey<T> key, scala.collection.immutable.Set<ActorRef<T>> _serviceInstances)
-
copy$default$1
public <T> ServiceKey<T> copy$default$1()
-
copy$default$2
public <T> scala.collection.immutable.Set<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
-
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
-
-