object Flags extends Serializable
- Alphabetic
- By Inheritance
- Flags
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- val Debug: Long
Overview of Tracing flags size in bits: 1 2 32 8 20 1 +-+--+--------------------------------+-------+--------------------+-+
Overview of Tracing flags size in bits: 1 2 32 8 20 1 +-+--+--------------------------------+-------+--------------------+-+
SampleRate
Extension
0
+-+--+--------------------------------+-------+--------------------+-+ | | | | +-SamplingKnownSampled +-Most Significant Bit +-Debug
Extension Flags: The Sampled & Debug flags which are used to propagate trace sampling decisions are tightly coupled to the underlying sampling tracer implementation. These flags cannot be reused by other "non sampling" tracers without triggering unintended side effects in the existing sampling tracers. Hence the highest 20 bits (positions 43...62) excluding the most significant bit are reserved for use by custom tracers to propagate their tracing decisions safely without affecting any existing tracer implementations.
Finagle will never mutate extension flags, so it's safe to set your own extension flags.
- val ExtensionFlagsMask: Long
Bitmask which represents the bit range of extension flags.
- val ExtensionFlagsShift: Int
Represents the lowest bit position of extension flags.
- val Sampled: Long
- val SamplingKnown: Long
Reserved for future use to encode sampling behavior, currently encoded explicitly in TraceId.sampled (Option[Boolean]).
- def apply(): Flags
- returns
a flags instance with no flags set.
- 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])
- 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()