NodeRuntimeBootstrap

org.sigilaris.node.jvm.runtime.NodeRuntimeBootstrap
trait NodeRuntimeBootstrap[F[_], Config, Services, Layout]

Strategy for bootstrapping node services in either in-memory or persistent mode.

Type parameters

Config

configuration type

F

effect type

Layout

the persistent storage layout type

Services

the service bundle type to produce

Attributes

Source
NodeRuntimeBootstrap.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def inMemory(config: Config): Resource[F, Services]

Bootstraps services using a purely in-memory backend.

Bootstraps services using a purely in-memory backend.

Value parameters

config

application configuration

Attributes

Returns

a resource managing the in-memory service lifecycle

Source
NodeRuntimeBootstrap.scala
def persistent(config: Config, layout: Layout): Resource[F, Services]

Bootstraps services using a persistent storage backend.

Bootstraps services using a persistent storage backend.

Value parameters

config

application configuration

layout

the storage layout descriptor

Attributes

Returns

a resource managing the persistent service lifecycle

Source
NodeRuntimeBootstrap.scala