object CurrentTimeRecorder
- Alphabetic
- By Inheritance
- CurrentTimeRecorder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait Labelled[F[_], -A] extends Metric.Labelled[A]
A derived metric type that sets an underlying Gauge.Labelled to the current system time.
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 fromDoubleGauge[F[_]](gauge: Gauge[F, Double])(f: (FiniteDuration) => Double)(implicit arg0: FlatMap[F], arg1: Clock[F]): CurrentTimeRecorder[F]
Create a CurrentTimeRecorder from a Gauge that records scala.Double values
Create a CurrentTimeRecorder from a Gauge that records scala.Double values
The best way to construct a CurrentTimeRecorder is to use the
asCurrentTimeRecorder
on the gauge DSL provided by MetricFactory- gauge
the Gauge instance to set the current time value against
- f
a function to go from the current time represented in scala.concurrent.duration.FiniteDuration as a scala.Double
- def fromLongGauge[F[_]](gauge: Gauge[F, Long])(f: (FiniteDuration) => Long)(implicit arg0: FlatMap[F], arg1: Clock[F]): CurrentTimeRecorder[F]
Create a CurrentTimeRecorder from a Gauge that records scala.Long values
Create a CurrentTimeRecorder from a Gauge that records scala.Long values
The best way to construct a CurrentTimeRecorder is to use the
asCurrentTimeRecorder
on the gauge DSL provided by MetricFactory- gauge
the Gauge instance to set the current time value against
- f
a function to go from the current time represented in scala.concurrent.duration.FiniteDuration as a scala.Long
- 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 Labelled