AppliedCache

harness.zio.AppliedCache
See theAppliedCache companion object
final case class AppliedCache[R, E, K, V](_cache: Cache[K, V], _get: K => ZIO[R, E, V])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

inline def apply(k: K): ZIO[R, E, V]
inline def cache(k: K): ZIO[R, E, Unit]
inline def cacheAll(ks: K*): ZIO[R, E, Unit]
inline def cacheAllPar(ks: K*): ZIO[R, E, Unit]
inline def check(k: K): UIO[Option[V]]
inline def get(k: K): ZIO[R, E, V]
inline def invalidate(k: K): UIO[Unit]
inline def invalidateAll(ks: K*): UIO[Unit]
inline def invalidateAll: UIO[Unit]
inline def isCached(k: K): UIO[Boolean]
inline def put(k: K, v: V): UIO[Unit]
inline def putAll(pairs: (K, V)*): UIO[Unit]
inline def refreshAll: ZIO[R, E, Unit]
inline def refreshAllPar: ZIO[R, E, Unit]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product