Class EntityTypeKey<T>
- java.lang.Object
-
- akka.cluster.sharding.typed.javadsl.EntityTypeKey<T>
-
public abstract class EntityTypeKey<T> extends java.lang.Object
The key of an entity type, thename
must be unique.Not for user extension.
-
-
Constructor Summary
Constructors Constructor Description EntityTypeKey()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static <T> EntityTypeKey<T>
create(java.lang.Class<T> messageClass, java.lang.String name)
Creates anEntityTypeKey
.abstract java.lang.String
name()
Name of the entity type.
-
-
-
Method Detail
-
create
public static <T> EntityTypeKey<T> create(java.lang.Class<T> messageClass, java.lang.String name)
Creates anEntityTypeKey
. Thename
must be unique.
-
name
public abstract java.lang.String name()
Name of the entity type.
-
-