Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
Core is not safe under concurrent scene
func NewLFUCore ¶
NewLFUCore will new a strategy object based on LFU algorithm
func (*Core) RemoveLowFrequency ¶
func (c *Core) RemoveLowFrequency()
type Option ¶
type Option func(o *Options)
func WithEvictFunc ¶
WithEvictFunc define evict function execute when delete entity
Click to show internal directories.
Click to hide internal directories.