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.
- Alphabetic
- By Inheritance
- BinaryPropagation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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.
- 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.
- 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.
- case class Settings(maxOutgoingSize: Int, includeUpstreamName: Boolean, incomingEntries: Map[String, EntryReader[ByteStreamReader]], outgoingEntries: Map[String, EntryWriter[ByteStreamWriter]]) extends Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def from(config: Config): Propagation[ByteStreamReader, ByteStreamWriter]
Create a new Binary Propagation instance from the provided configuration.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object ByteStreamReader
- object ByteStreamWriter
- object Default
- object Settings extends Serializable