StorageMode

org.sigilaris.node.jvm.runtime.StorageMode
See theStorageMode companion object
enum StorageMode[+Layout]

Discriminates between in-memory and persistent storage backends.

Type parameters

Layout

the persistent storage layout type (covariant)

Attributes

Companion
object
Source
StorageMode.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case InMemory extends StorageMode[Nothing]

Purely in-memory storage; data is lost on shutdown.

Purely in-memory storage; data is lost on shutdown.

Attributes

Source
StorageMode.scala
final case class Persistent[+Layout](layout: Layout)

Persistent storage backed by the given layout descriptor.

Persistent storage backed by the given layout descriptor.

Value parameters

layout

the storage layout configuration

Attributes

Source
StorageMode.scala