StorageLayout

org.sigilaris.node.jvm.storage.swaydb.StorageLayout
See theStorageLayout companion class
object StorageLayout

Companion providing nested path group types and factory methods for StorageLayout.

Attributes

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

Members list

Type members

Classlikes

final case class Application(database: Path, locks: Path, reservations: Path, applied: Path, terminal: Path, exactPipelines: Path, journal: Path, control: Path)

Directory paths for height-bounded application safety state.

Directory paths for height-bounded application safety state.

Attributes

Source
StorageLayout.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Batch(immutable: Path, pending: Path, committed: Path)

Directory paths for batch storage.

Directory paths for batch storage.

Value parameters

committed

path to the committed batch store

immutable

path to the immutable batch store

pending

path to the pending batch store

Attributes

Source
StorageLayout.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Block(bestHeader: Path, bodies: Path)

Directory paths for block storage.

Directory paths for block storage.

Value parameters

bestHeader

path to the best block header store

bodies

path to the block bodies store

Attributes

Source
StorageLayout.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Event(index: Path)

Directory paths for event storage.

Directory paths for event storage.

Value parameters

index

path to the event index store

Attributes

Source
StorageLayout.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Pipeline(metadata: Path, idempotency: Path, exactMetadata: Path, exactIdempotency: Path)

Directory paths for transaction pipeline metadata storage.

Directory paths for transaction pipeline metadata storage.

Value parameters

exactIdempotency

path to the exact-v2 idempotency-key index

exactMetadata

path to exact-v2 verified descriptor records

idempotency

path to the idempotency-key index store

metadata

path to the pipeline metadata store

Attributes

Source
StorageLayout.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class State(snapshot: Path, nodes: Path, historicalArchive: Path)

Directory paths for consensus state storage.

Directory paths for consensus state storage.

Value parameters

historicalArchive

path to the historical archive store

nodes

path to the Merkle trie node store

snapshot

path to the snapshot metadata store

Attributes

Source
StorageLayout.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Transaction(immutable: Path, meta: Path)

Directory paths for transaction storage.

Directory paths for transaction storage.

Value parameters

immutable

path to the immutable (finalized) transaction store

meta

path to the transaction metadata store

Attributes

Source
StorageLayout.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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 fromRoot(root: Path): StorageLayout

Constructs a StorageLayout by resolving conventional subdirectory names under the given root.

Constructs a StorageLayout by resolving conventional subdirectory names under the given root.

Value parameters

root

the root directory

Attributes

Returns

a fully populated storage layout

Source
StorageLayout.scala

Concrete fields

The default storage layout, rooted at data/sway.

The default storage layout, rooted at data/sway.

Attributes

Source
StorageLayout.scala