InMemoryStores
Factory for creating in-memory store instances backed by cats-effect Ref.
Attributes
- Source
- InMemoryStores.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
InMemoryStores.type
Members list
Value members
Concrete methods
Creates an in-memory KeyValueStore resource backed by a Map.
Creates an in-memory KeyValueStore resource backed by a Map.
Type parameters
- F
-
the effect type with
Synccapability - K
-
the key type
- V
-
the value type
Attributes
- Returns
-
a resource that yields a new in-memory key-value store
- Source
- InMemoryStores.scala
Creates an in-memory SingleValueStore resource.
Creates an in-memory SingleValueStore resource.
Type parameters
- A
-
the value type
- F
-
the effect type with
Synccapability
Attributes
- Returns
-
a resource that yields a new in-memory single-value store
- Source
- InMemoryStores.scala
Creates an in-memory StoreIndex resource backed by a TreeMap for ordered access.
Creates an in-memory StoreIndex resource backed by a TreeMap for ordered access.
Type parameters
- F
-
the effect type with
Synccapability - K
-
the key type (must have an
Ordering) - V
-
the value type
Attributes
- Returns
-
a resource that yields a new in-memory store index
- Source
- InMemoryStores.scala