Documentation ¶
Index ¶
- type Store
- func (ts *Store) Commit(*iavl.TreeDelta, []byte) (id types.CommitID, _ iavl.TreeDelta, _ []byte)
- func (ts *Store) CommitterCommit(interface{}) (id types.CommitID, _ interface{})
- 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 ¶
func (*Store) GetDBReadCount ¶
func (*Store) GetDBReadTime ¶
func (*Store) GetDBWriteCount ¶
func (*Store) GetFlatKVReadCount ¶
func (*Store) GetFlatKVReadTime ¶
func (*Store) GetFlatKVWriteCount ¶
func (*Store) GetFlatKVWriteTime ¶
func (*Store) GetNodeReadCount ¶
func (*Store) LastCommitID ¶
Implements CommitStore
func (*Store) LastCommitVersion ¶
func (*Store) ResetCount ¶
func (ts *Store) ResetCount()
func (*Store) SetPruning ¶
func (ts *Store) SetPruning(pruning types.PruningOptions)
Implements CommitStore
func (*Store) SetUpgradeVersion ¶
Click to show internal directories.
Click to hide internal directories.