Object/Class

kamon.context

Context

Related Docs: class Context | package context

Permalink

object Context

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

Type Members

  1. trait Entry extends AnyRef

    Permalink

    An untyped representation of a Context entry.

  2. final class Key[T] extends AnyRef

    Permalink

    Encapsulates the type, name and empty value for a context entry.

    Encapsulates the type, name and empty value for a context entry. All reads and writes from a context instance must be done using a context key, which will ensure the right type is used on both operations. The key's name is used when configuring mappings and incoming/outgoing/returning codecs for context propagation across channels.

    If you try to read an entry from a context and such entry is not present, the empty value for the key is returned instead.

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. val Empty: Context

    Permalink

    A Context that doesn't have any entries nor tags.

  5. object Entry

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  14. def key[T](name: String, emptyValue: T): Key[T]

    Permalink

    Creates a new Context.Key instance that can be used to insert and retrieve values from the context entries.

    Creates a new Context.Key instance that can be used to insert and retrieve values from the context entries. Context keys must have a unique name since they will be looked up in transports by their name and the context entries are internally stored using their key name as index.

  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def of[T, U](keyOne: Key[T], valueOne: T, keyTwo: Key[U], valueTwo: U, tags: TagSet): Context

    Permalink

    Creates a new Context instance with two entries and the provided tags.

  19. def of[T, U](keyOne: Key[T], valueOne: T, keyTwo: Key[U], valueTwo: U): Context

    Permalink

    Creates a new Context instance with two entries and no tags.

  20. def of[T](key: Key[T], value: T, tags: TagSet): Context

    Permalink

    Creates a new Context instance with a single entry and the provided tags.

  21. def of[T](key: Key[T], value: T): Context

    Permalink

    Creates a new Context instance with the provided key and no tags.

  22. def of(tagKey: String, tagValue: Boolean): Context

    Permalink

    Creates a new Context instance with one tag.

  23. def of(tagKey: String, tagValue: Long): Context

    Permalink

    Creates a new Context instance with one tag.

  24. def of(tagKey: String, tagValue: String): Context

    Permalink

    Creates a new Context instance with one tag.

  25. def of(tags: TagSet): Context

    Permalink

    Creates a new Context instance with the provided tags and no entries.

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped