Package akka.actor.typed
Class ActorTags
- java.lang.Object
-
- akka.actor.typed.Props
-
- akka.actor.typed.ActorTags
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
- Direct Known Subclasses:
PropsImpl.ActorTagsImpl
public abstract class ActorTags extends Props
Scala API: one or more tags defined for the actor- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActorTags()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ActorTags
apply(java.lang.String tag, scala.collection.immutable.Seq<java.lang.String> additionalTags)
Scala API: create a tag props with one or more tagsstatic ActorTags
apply(scala.collection.immutable.Set<java.lang.String> tags)
Scala API: create a multi-tag props.static ActorTags
create(java.lang.String... tags)
static ActorTags
create(java.util.Set<java.lang.String> tags)
Java API: create a multi-tag propsstatic ActorTags
create(scala.collection.immutable.Seq<java.lang.String> tags)
java.util.Set<java.lang.String>
getTags()
Java API: one or more tags defined for the actorabstract scala.collection.immutable.Set<java.lang.String>
tags()
-
Methods inherited from class akka.actor.typed.Props
allOf, empty, filterNot, firstOrElse, next, withDispatcherDefault, withDispatcherFromConfig, withDispatcherSameAsParent, withNext
-
-
-
-
Method Detail
-
create
public static ActorTags create(java.lang.String... tags)
-
create
public static ActorTags create(scala.collection.immutable.Seq<java.lang.String> tags)
-
create
public static ActorTags create(java.util.Set<java.lang.String> tags)
Java API: create a multi-tag propsSet must not be empty.
- Parameters:
tags
- (undocumented)- Returns:
- (undocumented)
-
apply
public static ActorTags apply(java.lang.String tag, scala.collection.immutable.Seq<java.lang.String> additionalTags)
Scala API: create a tag props with one or more tags- Parameters:
tag
- (undocumented)additionalTags
- (undocumented)- Returns:
- (undocumented)
-
apply
public static ActorTags apply(scala.collection.immutable.Set<java.lang.String> tags)
Scala API: create a multi-tag props.Set must not be empty.
- Parameters:
tags
- (undocumented)- Returns:
- (undocumented)
-
tags
public abstract scala.collection.immutable.Set<java.lang.String> tags()
-
getTags
public java.util.Set<java.lang.String> getTags()
Java API: one or more tags defined for the actor- Returns:
- (undocumented)
-
-