InstrumentedRefreshable

prometheus4cats.refreshable.InstrumentedRefreshable
See theInstrumentedRefreshable companion object
class InstrumentedRefreshable[F[_], A] extends Refreshable[F, A]

Attributes

Companion
object
Source
InstrumentedRefreshable.scala
Graph
Supertypes
class Refreshable[F, A]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def cancel: F[Boolean]

Cancel refreshing

Cancel refreshing

Attributes

Returns

boolean status of whether refreshing was stopped (false if it is already stopped)

Definition Classes
Source
InstrumentedRefreshable.scala
override def get: F[CachedValue[A]]

Get the value of A wrapped in a status

Get the value of A wrapped in a status

Attributes

Definition Classes
Source
InstrumentedRefreshable.scala
override def restart: F[Boolean]

Restart refreshing

Restart refreshing

Attributes

Returns

boolean status of whether refreshing was restarted (false if is already started)

Definition Classes
Source
InstrumentedRefreshable.scala
override def updates: Stream[F, CachedValue[A]]

Subscribe to discrete updates of the underlying value

Subscribe to discrete updates of the underlying value

Attributes

Definition Classes
Source
InstrumentedRefreshable.scala

Inherited methods

def map[B](f: A => B): Refreshable[F, B]

Attributes

Inherited from:
Refreshable
Source
Refreshable.scala
def mapK[G[_] : Functor](fk: FunctionK[F, G]): Refreshable[G, A]

Attributes

Inherited from:
Refreshable
Source
Refreshable.scala
def value: F[A]

Get the unwrapped value of A

Get the unwrapped value of A

Attributes

Inherited from:
Refreshable
Source
Refreshable.scala