object MeasurementUnit extends Serializable
- Alphabetic
- By Inheritance
- MeasurementUnit
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
Dimension(name: String) extends Product with Serializable
A measurable extent of a particular kind.
A measurable extent of a particular kind. For example, the "time" dimension signals that measurements represent the extent in time between two instants.
-
trait
InformationUnits extends AnyRef
Makes it easier to access the information units from non-Scala code
-
case class
Magnitude(name: String, scaleFactor: Double) extends Product with Serializable
Represents a named quantity within a particular dimension and the scale factor between that quantity and the smallest quantity (base unit) of that dimension.
-
trait
TimeUnits extends AnyRef
Makes it easier to access the time units from non-Scala code
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( ... ) @native()
-
def
convert(value: Double, from: MeasurementUnit, to: MeasurementUnit): Double
Converts the provided value between two MeasurementUnits of the same dimension.
Converts the provided value between two MeasurementUnits of the same dimension. If the "from" and "to" units do not share the same dimension a warning will be logged and the value will be returned unchanged.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
information: InformationUnits
Group of units for measurements in the information dimension.
Group of units for measurements in the information dimension. Metrics tracking indicators like message sizes, memory usage or network traffic will typically use the bytes unit.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
none: MeasurementUnit
Default measurement unit used when there is no knowledge of the actual unit being measured or none of the available units matches the actual unit.
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
percentage: MeasurementUnit
Unit for values that represent the ratio between two indicators, as a fraction of 100.
Unit for values that represent the ratio between two indicators, as a fraction of 100. Metrics using this unit will usually have a range between 0 and 100, although there are no hard limitations on that.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
time: TimeUnits
Group of units for measurements in the time dimension.
Group of units for measurements in the time dimension. All metrics tracking latency will use one of these units, typically the nanoseconds unit.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object Dimension extends Serializable