Documentation ¶
Index ¶
- Constants
- type Cache
- type Store
- func (st *Store) Commit(version int64)
- func (st *Store) Delete(key []byte)
- func (st *Store) Enable() bool
- func (st *Store) Get(key []byte) []byte
- func (st *Store) GetDBReadCount() int
- func (st *Store) GetDBReadTime() int
- func (st *Store) GetDBWriteCount() int
- func (st *Store) GetDBWriteTime() int
- func (st *Store) GetLatestVersion() int64
- func (st *Store) Has(key []byte) bool
- func (st *Store) ResetCount()
- func (st *Store) Set(key, value []byte)
Constants ¶
View Source
const (
FlagEnable = "enable-flat-kv"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store wraps app_flat_kv.db for read performance.
func (*Store) GetDBReadCount ¶
func (*Store) GetDBReadTime ¶
func (*Store) GetDBWriteCount ¶
func (*Store) GetDBWriteTime ¶
func (*Store) GetLatestVersion ¶
func (*Store) ResetCount ¶
func (st *Store) ResetCount()
Click to show internal directories.
Click to hide internal directories.