Package akka.actor.typed.receptionist
Class ServiceKey$
- java.lang.Object
-
- akka.actor.typed.receptionist.ServiceKey$
-
public class ServiceKey$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ServiceKey$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ServiceKey$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> ServiceKey<T>
apply(java.lang.String id, scala.reflect.ClassTag<T> classTag)
Scala API: Creates a service key.<T> ServiceKey<T>
create(java.lang.Class<T> clazz, java.lang.String id)
Java API: Creates a service key.
-
-
-
Field Detail
-
MODULE$
public static final ServiceKey$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public <T> ServiceKey<T> apply(java.lang.String id, scala.reflect.ClassTag<T> classTag)
Scala API: Creates a service key. The given ID should uniquely define a service with a given protocol.
-
create
public <T> ServiceKey<T> create(java.lang.Class<T> clazz, java.lang.String id)
Java API: Creates a service key. The given ID should uniquely define a service with a given protocol.
-
-