Class ActorTags

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product
    Direct Known Subclasses:
    PropsImpl.ActorTagsImpl

    public abstract class ActorTags
    extends Props
    Actor tags are used to logically group actors. The tags are included in logging as markers Especially useful for logging from functional style actors and since those may not have a clear logger class.

    Not for user extension.

    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 tags
      static ActorTags apply​(scala.collection.immutable.Set<java.lang.String> tags)
      Scala API: create a multi-tag props.
      static ActorTags create​(java.lang.String... tags)
      Java API: create a tag props with one or more tags
      static ActorTags create​(java.util.Set<java.lang.String> tags)
      Java API: create a multi-tag props
      static ActorTags create​(scala.collection.immutable.Seq<java.lang.String> tags)
      Java API: create a tag props with one or more tags
      java.util.Set<java.lang.String> getTags()
      Java API: one or more tags defined for the actor
      abstract scala.collection.immutable.Set<java.lang.String> tags()
      Scala API: one or more tags defined for the actor
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface scala.Equals

        canEqual, equals
      • Methods inherited from interface scala.Product

        productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
    • Constructor Detail

      • ActorTags

        public ActorTags()
    • Method Detail

      • create

        public static ActorTags create​(java.lang.String... tags)
        Java API: create a tag props with one or more tags
        Parameters:
        tags - (undocumented)
        Returns:
        (undocumented)
      • create

        public static ActorTags create​(scala.collection.immutable.Seq<java.lang.String> tags)
        Java API: create a tag props with one or more tags
        Parameters:
        tags - (undocumented)
        Returns:
        (undocumented)
      • create

        public static ActorTags create​(java.util.Set<java.lang.String> tags)
        Java API: create a multi-tag props

        Set 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()
        Scala API: one or more tags defined for the actor
        Returns:
      • getTags

        public java.util.Set<java.lang.String> getTags()
        Java API: one or more tags defined for the actor
        Returns:
        (undocumented)