org.sigilaris.node.jvm.runtime.StorageMode
See theStorageMode companion enum
Companion for StorageMode providing CLI argument parsing.
Attributes
-
Companion
-
enum
-
Source
-
StorageMode.scala
-
Graph
-
-
Supertypes
-
trait Sum
trait Mirror
class Object
trait Matchable
class Any
-
Self type
-
Members list
The names of the product elements
The names of the product elements
Attributes
-
Inherited from:
-
Mirror
-
Source
-
Mirror.scala
Determines the storage mode from CLI arguments.
Determines the storage mode from CLI arguments.
If args contains inMemoryFlag, returns StorageMode.InMemory; otherwise returns StorageMode.Persistent with the provided layout.
Type parameters
-
Layout
-
the persistent storage layout type
Value parameters
-
args
-
CLI arguments to inspect
-
inMemoryFlag
-
the flag string that triggers in-memory mode
-
persistentLayout
-
lazily evaluated layout used when persistent mode is selected
Attributes
-
Returns
-
the resolved storage mode
-
Source
-
StorageMode.scala
Default CLI flag used to select in-memory mode.