Documentation ¶
Index ¶
- type Store
- func (ts *Store) Commit(*iavl.TreeDelta, []byte) (id types.CommitID, _ iavl.TreeDelta, _ []byte)
- func (ts *Store) CommitterCommit(*iavl.TreeDelta) (id types.CommitID, _ *iavl.TreeDelta)
- func (ts *Store) GetDBReadCount() int
- func (ts *Store) GetDBReadTime() int
- func (ts *Store) GetDBWriteCount() int
- func (ts *Store) GetFlatKVReadCount() int
- func (ts *Store) GetFlatKVReadTime() int
- func (ts *Store) GetFlatKVWriteCount() int
- func (ts *Store) GetFlatKVWriteTime() int
- func (ts *Store) GetNodeReadCount() int
- func (ts *Store) GetStoreType() types.StoreType
- func (ts *Store) LastCommitID() (id types.CommitID)
- func (ts *Store) LastCommitVersion() (v int64)
- func (ts *Store) ResetCount()
- func (ts *Store) SetPruning(pruning types.PruningOptions)
- func (ts *Store) SetUpgradeVersion(int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is a wrapper for a MemDB with Commiter implementation
func (*Store) CommitterCommit ¶ added in v1.1.6
func (*Store) GetDBReadCount ¶
func (*Store) GetDBReadTime ¶
func (*Store) GetDBWriteCount ¶
func (*Store) GetFlatKVReadCount ¶ added in v1.1.5
func (*Store) GetFlatKVReadTime ¶ added in v1.1.5
func (*Store) GetFlatKVWriteCount ¶ added in v1.1.5
func (*Store) GetFlatKVWriteTime ¶ added in v1.1.5
func (*Store) GetNodeReadCount ¶
func (*Store) LastCommitID ¶
Implements CommitStore
func (*Store) LastCommitVersion ¶ added in v1.6.3
func (*Store) ResetCount ¶
func (ts *Store) ResetCount()
func (*Store) SetPruning ¶
func (ts *Store) SetPruning(pruning types.PruningOptions)
Implements CommitStore
func (*Store) SetUpgradeVersion ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.