BlockStore

org.sigilaris.node.jvm.runtime.block.BlockStore
See theBlockStore companion trait
object BlockStore

Companion for BlockStore providing factory methods.

Attributes

Companion
trait
Source
Store.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
BlockStore.type

Members list

Value members

Concrete methods

def inMemory[F[_] : Sync, TxRef : ByteEncoder, ResultRef : ByteEncoder, Event : ByteEncoder]: F[BlockStore[F, TxRef, ResultRef, Event]]

Creates a new in-memory BlockStore backed by Ref-based maps.

Creates a new in-memory BlockStore backed by Ref-based maps.

Type parameters

Event

event type

F

effect type with Sync capability

ResultRef

result reference type

TxRef

transaction reference type

Attributes

Returns

an effectfully allocated in-memory block store

Source
Store.scala