Packages

o

kamon.context

BinaryPropagation

object BinaryPropagation

Context propagation that uses byte stream abstractions as the transport medium. The Binary propagation uses instances of ByteStreamReader and ByteStreamWriter to decode and encode Context instances, respectively.

Binary propagation uses the ByteStreamReader and ByteStreamWriter abstraction which closely model the APIs from InputStream and OutputStream, respectively, but without exposing additional functionality that wouldn't have any well defined behavior for Context propagation, e.g. flush or close functions on OutputStreams.

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

Type Members

  1. trait ByteStreamReader extends AnyRef

    Represents a readable stream of bytes.

    Represents a readable stream of bytes. This interface closely resembles InputStream, minus the functionality that wouldn't have a clearly defined behavior in the context of Context propagation.

  2. trait ByteStreamWriter extends AnyRef

    Represents a writable stream of bytes.

    Represents a writable stream of bytes. This interface closely resembles OutputStream, minus the functionality that wouldn't have a clearly defined behavior in the context of Context propagation.

  3. class Default extends Propagation[ByteStreamReader, ByteStreamWriter]

    Default Binary propagation in Kamon.

    Default Binary propagation in Kamon. This implementation uses Colfer to read and write the context tags and entries. Entries are represented as simple pairs of entry name and bytes, which are then processed by the all configured entry readers and writers.

  4. case class Settings(maxOutgoingSize: Int, includeUpstreamName: Boolean, incomingEntries: Map[String, EntryReader[ByteStreamReader]], outgoingEntries: Map[String, EntryWriter[ByteStreamWriter]]) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def from(config: Config): Propagation[ByteStreamReader, ByteStreamWriter]

    Create a new Binary Propagation instance from the provided configuration.

  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. object ByteStreamReader
  22. object ByteStreamWriter
  23. object Default
  24. object Settings extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped