trait
PollingMetric[-R, +E, +Out] extends AnyRef
Type Members
-
abstract
type
In
-
abstract
type
Type
Abstract Value Members
-
abstract
def
metric: Metric[Type, In, Out]
-
abstract
def
poll(implicit trace: Trace): ZIO[R, E, In]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
final
def
blocking: Full[Type, In, R, E, Out]
-
def
clone(): AnyRef
-
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
launch[R1 <: R, B](schedule: Schedule[R1, Any, B])(implicit trace: Trace): ZIO[R1 with Scope, Nothing, Fiber[E, B]]
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
pollAndUpdate(implicit trace: Trace): ZIO[R, E, Unit]
-
final
def
retry[R1 <: R, E1 >: E](policy: Schedule[R1, E1, Any]): Full[Type, In, R1, E1, Out]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
final
def
zip[R1 <: R, E1 >: E, Out2](that: PollingMetric[R1, E1, Out2])(implicit z1: Zippable[Type, Type], z2: Zippable[Out, Out2]): Full[Out, (In, In), R1, E1, Out]
A
PollingMetric[Type, Out]
is a combination of a metric and an effect that polls for updates to the metric.