NodeRuntime

org.sigilaris.node.jvm.runtime.NodeRuntime
See theNodeRuntime companion class
object NodeRuntime

Companion for NodeRuntime providing resource-based construction.

Attributes

Companion
class
Source
NodeRuntime.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def resource[F[_], Config, Services, Layout](config: Config, mode: StorageMode[Layout])(using bootstrap: NodeRuntimeBootstrap[F, Config, Services, Layout]): Resource[F, NodeRuntime[Services, Layout]]

Creates a NodeRuntime resource by delegating to the appropriate NodeRuntimeBootstrap strategy based on the storage mode.

Creates a NodeRuntime resource by delegating to the appropriate NodeRuntimeBootstrap strategy based on the storage mode.

Type parameters

Config

configuration type

F

effect type

Layout

the persistent storage layout type

Services

the service bundle type

Value parameters

bootstrap

implicit bootstrap strategy

config

application configuration

mode

the desired storage mode

Attributes

Returns

a resource managing the runtime lifecycle

Source
NodeRuntime.scala