Packages

trait Gauge extends TimerMetric

Linear Supertypes
TimerMetric, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Gauge
  2. TimerMetric
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def dec(amount: Double): UIO[Unit]
  2. abstract def get: UIO[Double]
  3. abstract def inc(amount: Double): UIO[Unit]
  4. abstract def set(value: Double): UIO[Unit]
  5. abstract def startTimer: UIO[Timer]

    Starts a timer.

    Starts a timer. When the timer is stopped, the duration is recorded in the metric.

    Definition Classes
    TimerMetric

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def dec: UIO[Unit]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def inc: UIO[Unit]
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def observe(amount: zio.Duration): UIO[Unit]
    Definition Classes
    GaugeTimerMetric
  18. def observe[R, E, A](zio: ZIO[R, E, A]): ZIO[R, E, A]

    Runs the given effect and records in the metric how much time it took to succeed or fail.

    Runs the given effect and records in the metric how much time it took to succeed or fail.

    Definition Classes
    TimerMetric
  19. def observeSuccess[R, E, A](zio: ZIO[R, E, A]): ZIO[R, E, A]

    Runs the given effect and records in the metric how much time it took to succeed.

    Runs the given effect and records in the metric how much time it took to succeed. Do not record failures.

    Definition Classes
    TimerMetric
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def timer: URIO[Scope, Timer]

    A managed timer resource.

    A managed timer resource.

    Definition Classes
    TimerMetric
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from TimerMetric

Inherited from AnyRef

Inherited from Any

Ungrouped