Class PrefixedActorNameFactory
- java.lang.Object
-
- org.eclipse.ditto.services.utils.akka.PrefixedActorNameFactory
-
@ThreadSafe public final class PrefixedActorNameFactory extends Object
Generates prefixed actor names.This is currently not supported by plain Akka, see Akka User Group.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcreateActorName()Creates a new prefixed actor name.static PrefixedActorNameFactoryof(String prefix)Creates a new instance of this factory which generates actor names with the specifiedprefix.
-
-
-
Method Detail
-
of
public static PrefixedActorNameFactory of(String prefix)
Creates a new instance of this factory which generates actor names with the specifiedprefix.- Parameters:
prefix- the prefix of the generated actor names.- Returns:
- the created instance
-
createActorName
public String createActorName()
Creates a new prefixed actor name.- Returns:
- the actor name.
-
-