Documentation ¶
Index ¶
- Constants
- Variables
- type BucketMap
- type Entry
- type HotEntry
- type Iterator
- type MoeingADS
- func (mads *MoeingADS) ActiveCount() int
- func (mads *MoeingADS) BeginWrite(height int64)
- func (mads *MoeingADS) CheckConsistency()
- func (mads *MoeingADS) Close()
- func (mads *MoeingADS) DeactiviateEntry(sn int64)
- func (mads *MoeingADS) Delete(key []byte)
- func (mads *MoeingADS) EndWrite()
- func (mads *MoeingADS) GetCurrHeight() int64
- func (mads *MoeingADS) GetEntry(k []byte) *Entry
- func (mads *MoeingADS) GetRootHash() []byte
- func (mads *MoeingADS) Iterator(start, end []byte) types.Iterator
- func (mads *MoeingADS) PrepareForDeletion(k []byte) (findIt bool)
- func (mads *MoeingADS) PrepareForUpdate(k []byte)
- func (mads *MoeingADS) PrintMetaInfo()
- func (mads *MoeingADS) PruneBeforeHeight(height int64)
- func (mads *MoeingADS) ReverseIterator(start, end []byte) types.Iterator
- func (mads *MoeingADS) Set(key, value []byte)
Constants ¶
View Source
const ( StartReapThres int64 = 10000 // 1000 * 1000 KeptEntriesToActiveEntriesRatio = 2 )
View Source
const ( MinimumTasksInGoroutine = 10 MaximumGoroutines = 128 )
Variables ¶
View Source
var Phase1n2Time, Phase1Time, Phase2Time, Phase3Time, Phase4Time, Phase0Time uint64
Functions ¶
This section is empty.
Types ¶
type BucketMap ¶
type BucketMap struct {
// contains filtered or unexported fields
}
func NewBucketMap ¶
type MoeingADS ¶
type MoeingADS struct {
// contains filtered or unexported fields
}
func NewMoeingADS ¶
func NewMoeingADS4Mock ¶
func (*MoeingADS) ActiveCount ¶
func (*MoeingADS) BeginWrite ¶
func (*MoeingADS) CheckConsistency ¶
func (mads *MoeingADS) CheckConsistency()
func (*MoeingADS) DeactiviateEntry ¶
func (*MoeingADS) GetCurrHeight ¶
func (*MoeingADS) GetRootHash ¶
func (*MoeingADS) PrepareForDeletion ¶
func (*MoeingADS) PrepareForUpdate ¶
func (*MoeingADS) PrintMetaInfo ¶
func (mads *MoeingADS) PrintMetaInfo()
func (*MoeingADS) PruneBeforeHeight ¶
func (*MoeingADS) ReverseIterator ¶
Click to show internal directories.
Click to hide internal directories.