Class DefaultServiceKey<T>
- java.lang.Object
-
- akka.actor.typed.internal.receptionist.AbstractServiceKey
-
- akka.actor.typed.receptionist.ServiceKey<T>
-
- akka.actor.typed.internal.receptionist.DefaultServiceKey<T>
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public final class DefaultServiceKey<T> extends ServiceKey<T> implements scala.Product, java.io.Serializable
This is the only actual concrete service key typeInternal API
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.actor.typed.receptionist.ServiceKey
ServiceKey.Listing$, ServiceKey.Registered$
-
-
Constructor Summary
Constructors Constructor Description DefaultServiceKey(java.lang.String id, java.lang.String typeName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> DefaultServiceKey<T>
apply(java.lang.String id, java.lang.String typeName)
boolean
canEqual(java.lang.Object x$1)
<T> DefaultServiceKey<T>
copy(java.lang.String id, java.lang.String typeName)
<T> java.lang.String
copy$default$1()
<T> java.lang.String
copy$default$2()
boolean
equals(java.lang.Object x$1)
int
hashCode()
java.lang.String
id()
int
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()
java.lang.String
toString()
java.lang.String
typeName()
static <T> scala.Option<scala.Tuple2<java.lang.String,java.lang.String>>
unapply(DefaultServiceKey<T> x$0)
-
Methods inherited from class akka.actor.typed.receptionist.ServiceKey
apply, asServiceKey, create, Listing, Registered
-
-
-
-
Method Detail
-
apply
public static <T> DefaultServiceKey<T> apply(java.lang.String id, java.lang.String typeName)
-
unapply
public static <T> scala.Option<scala.Tuple2<java.lang.String,java.lang.String>> unapply(DefaultServiceKey<T> x$0)
-
id
public java.lang.String id()
- Specified by:
id
in classServiceKey<T>
-
typeName
public java.lang.String typeName()
-
toString
public java.lang.String toString()
-
copy
public <T> DefaultServiceKey<T> copy(java.lang.String id, java.lang.String typeName)
-
copy$default$1
public <T> java.lang.String copy$default$1()
-
copy$default$2
public <T> java.lang.String 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()
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
-
-