Object/Class

kamon.tag

TagSet

Related Docs: class TagSet | package tag

Permalink

object TagSet

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TagSet
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Builder extends AnyRef

    Permalink

    A temporary structure that accumulates key/value and creates a new TagSet instance from them.

    A temporary structure that accumulates key/value and creates a new TagSet instance from them. It is faster to use a Builder and add tags to it rather than creating TagSet and add each key individually. Builder instances rely on internal mutable state and are not thread safe.

  2. trait Lookup[T] extends AnyRef

    Permalink

    Describes a strategy to lookup values from a TagSet instance.

    Describes a strategy to lookup values from a TagSet instance. Implementations of this interface will be provided with the actual data structure containing the tags and must perform any necessary runtime type checks to ensure that the returned value is in assignable to the expected type T.

    Several implementation are provided in the Lookup companion object and it is recommended to import and use those definitions when looking up keys from a Tags instance.

  3. trait Storage extends AnyRef

    Permalink

    Abstracts the actual storage used for a TagSet.

    Abstracts the actual storage used for a TagSet. This interface resembles a stripped down interface of an immutable map of String to Any, used to expose the underlying structure where tags are stored to Lookups, without leaking the actual implementation.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Builder

    Permalink
  5. val Empty: TagSet

    Permalink

    A valid instance of tags that doesn't contain any pairs.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def builder(): Builder

    Permalink

    Creates a new Builder instance.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def from(map: Map[String, Any]): TagSet

    Permalink

    Constructs a new TagSet instance from a Map.

    Constructs a new TagSet instance from a Map. The returned TagSet will only contain the entries that have String, Long or Boolean values from the supplied map, any other entry in the map will be ignored.

  13. def from(map: Map[String, Any]): TagSet

    Permalink

    Constructs a new TagSet instance from a Map.

    Constructs a new TagSet instance from a Map. The returned TagSet will only contain the entries that have String, Long or Boolean values from the supplied map, any other entry in the map will be ignored.

  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def of(key: String, value: Long): TagSet

    Permalink

    Construct a new TagSet instance with a single key/value pair.

  21. def of(key: String, value: Boolean): TagSet

    Permalink

    Construct a new TagSet instance with a single key/value pair.

  22. def of(key: String, value: String): TagSet

    Permalink

    Construct a new TagSet instance with a single key/value pair.

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped