InMemoryKVStore

au.id.tmm.fetch.cache.InMemoryKVStore
See theInMemoryKVStore companion object
final class InMemoryKVStore[F[_], K, V_IN, V_OUT] extends KVStore[F, K, V_IN, V_OUT]

KVStore that operates on an in-memory Map

Attributes

Companion:
object
Graph
Supertypes
trait KVStore[F, K, V_IN, V_OUT]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def contains(k: K): F[Boolean]

Attributes

Definition Classes
override def drop(k: K): F[Unit]

Attributes

Definition Classes
override def get(k: K): F[Option[V_OUT]]

Attributes

Definition Classes
override def put(k: K, vIn: V_IN): F[V_OUT]

Attributes

Returns:

the V_OUT value corresponding to this put operation

Definition Classes

Inherited methods

def contramapKey[K1](f: K1 => K): KVStore[F, K1, V_IN, V_OUT]

Attributes

Inherited from:
KVStore
def contramapValueIn[V_IN_1](f: V_IN_1 => V_IN): KVStore[F, K, V_IN_1, V_OUT]

Attributes

Inherited from:
KVStore
def evalContramapKey[K1](f: K1 => F[K])(implicit F: Monad[F]): KVStore[F, K1, V_IN, V_OUT]

Attributes

Inherited from:
KVStore
def evalContramapValueIn[V_IN_1](f: V_IN_1 => F[V_IN])(implicit F: Monad[F]): KVStore[F, K, V_IN_1, V_OUT]

Attributes

Inherited from:
KVStore
def evalMapValueOut[V_OUT_1](f: V_OUT => F[V_OUT_1])(implicit F: Monad[F]): KVStore[F, K, V_IN, V_OUT_1]

Attributes

Inherited from:
KVStore
def mapValueOut[V_OUT_1](f: V_OUT => V_OUT_1)(implicit F: Functor[F]): KVStore[F, K, V_IN, V_OUT_1]

Attributes

Inherited from:
KVStore