scalacache
package
scalacache
Type Members
-
type
Id[X] = X
Value Members
-
def
caching[F[_], V](keyParts: Any*)(ttl: Option[Duration])(f: ⇒ V)(implicit cache: Cache[V], mode: Mode[F], flags: Flags): F[V]
-
def
cachingF[F[_], V](keyParts: Any*)(ttl: Option[Duration])(f: ⇒ F[V])(implicit cache: Cache[V], mode: Mode[F], flags: Flags): F[V]
-
def
get[F[_], V](keyParts: Any*)(implicit cache: Cache[V], mode: Mode[F], flags: Flags): F[Option[V]]
-
-
def
put[F[_], V](keyParts: Any*)(value: V, ttl: Option[Duration])(implicit cache: Cache[V], mode: Mode[F], flags: Flags): F[Any]
-
def
remove[F[_], V](keyParts: Any*)(implicit cache: Cache[V], mode: Mode[F]): F[Any]
-
def
removeAll[V]: RemoveAll[V]
Inherited from AnyRef
Inherited from Any