Object

kamon.context

BinaryPropagation

Related Doc: package context

Permalink

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. All

Type Members

  1. trait ByteStreamReader extends AnyRef

    Permalink

    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

    Permalink

    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]

    Permalink

    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

    Permalink

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 ByteStreamReader

    Permalink
  5. object ByteStreamWriter

    Permalink
  6. object Default

    Permalink
  7. object Settings extends Serializable

    Permalink
  8. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def from(config: Config): Propagation[ByteStreamReader, ByteStreamWriter]

    Permalink

    Create a new Binary Propagation instance from the provided configuration.

  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. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped