Skip to content

CommitMultiStore

ratranqu edited this page Apr 26, 2021 · 2 revisions

CommitMultiStore

public protocol CommitMultiStore: Commiter, MultiStore 

Inheritance

Commiter, MultiStore

Requirements

mountStoreWithDatabase(key:​type:​database:​)

func mountStoreWithDatabase(key: StoreKey, type: StoreType, database: Database?)

commitStore(key:​)

func commitStore(key: StoreKey) -> CommitStore?

commitKeyValueStore(key:​)

func commitKeyValueStore(key: StoreKey) -> CommitKeyValueStore?

loadLatestVersion()

func loadLatestVersion() throws

loadLatestVersionAndUpgrade(upgrades:​)

func loadLatestVersionAndUpgrade(upgrades: StoreUpgrades) throws

loadVersionAndUpgrade(version:​upgrades:​)

func loadVersionAndUpgrade(version: Int64, upgrades: StoreUpgrades) throws

load(version:​)

func load(version: Int64) throws

set(interBlockCache:​)

func set(interBlockCache: MultiStorePersistentCache)
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Extensions
Clone this wiki locally