final case class Metric extends MetricNumericConverter with Product with Serializable
Metrics key/value.
Equality of Metric is based on its name.
- Annotations
- @SerialVersionUID()
- Source
- Metric.scala
- Alphabetic
- By Inheritance
- Metric
- Serializable
- Product
- Equals
- MetricNumericConverter
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
-   final  def !=(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def ##: Int- Definition Classes
- AnyRef → Any
 
-  def +(other: String): String
-  def ->[B](y: B): (Metric, B)
-    def :+(latest: Metric): MetricUpdates the data point, and if defined, updates the data stream (average). Updates the data point, and if defined, updates the data stream (average). Returns the updated metric. 
-   final  def ==(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-  val average: Option[EWMA]
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
 
-    def convertNumber(from: Any): Either[Long, Double]May involve rounding or truncation. May involve rounding or truncation. - Definition Classes
- MetricNumericConverter
 
-    def defined(value: Number): BooleanAn defined value is neither negative nor NaN/Infinite: An defined value is neither negative nor NaN/Infinite: - JMX system load average and max heap can be 'undefined' for certain OS, in which case a -1 is returned
- SIGAR combined CPU can occasionally return a NaN or Infinite (known bug)
 - Definition Classes
- MetricNumericConverter
 
-  def ensuring(cond: (Metric) => Boolean, msg: => Any): Metric
-  def ensuring(cond: (Metric) => Boolean): Metric
-  def ensuring(cond: Boolean, msg: => Any): Metric
-  def ensuring(cond: Boolean): Metric
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(obj: Any): Boolean- Definition Classes
- Metric → Equals → AnyRef → Any
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
 
-    def hashCode(): Int- Definition Classes
- Metric → AnyRef → Any
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-    def isSmooth: Boolean- returns
- true if this value is smoothed 
 
-  val name: String
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
 
-    def productElementNames: Iterator[String]- Definition Classes
- Product
 
-    def sameAs(that: Metric): BooleanReturns true if thatis tracking the same metric as this.
-    def smoothValue: DoubleThe numerical value of the average, if defined, otherwise the latest value 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-  val value: Number
-   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()
 
-   final  def wait(): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
Deprecated Value Members
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- (Since version 9) 
 
-    def formatted(fmtstr: String): String- Implicit
- This member is added by an implicit conversion from Metric toStringFormat[Metric] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
- (Since version 2.12.16) Use - formatString.format(value)instead of- value.formatted(formatString), or use the- f""string interpolator. In Java 15 and later,- formattedresolves to the new method in String which has reversed parameters.
 
-    def →[B](y: B): (Metric, B)- Implicit
- This member is added by an implicit conversion from Metric toArrowAssoc[Metric] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
- (Since version 2.13.0) Use - ->instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.