case class Flags(flags: Long) extends Product with Serializable
Represents flags that can be passed along in request headers.
- flags
Initial flag state. May be 0.
- Alphabetic
- By Inheritance
- Flags
- Serializable
- Product
- Equals
- 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
- 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 finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val flags: Long
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getSampleRate(): Float
Method that converts the bits storing the sample rate back into a float
- def isDebug: Boolean
Convenience method to check if the debug flag is set.
- def isFlagSet(field: Long): Boolean
- field
Is this flag set or not? Pass a field identifier from the Flags object.
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def setDebug: Flags
Convenience method to set the debug flag.
- def setFlag(field: Long): Flags
- field
Field to set. Pass a field identifier from the Flags object.
- returns
a new Flags object with the flag set
- def setFlags(fields: Seq[Long]): Flags
- fields
Fields to set. Pass field identifiers from the Flags object.
- returns
a new Flags object with the flags set
- def setSampleRate(value: Float): Flags
Method to set the value of sampleRate flag
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLong: Long
- returns
a long that we can use to pass in the tracing header
- 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()