Documentation ¶
Index ¶
- func NewLRUCache(size int) *base.BaseCache
- func NewSafeLRUCache(size int) *base.BaseCache
- type ElementCdb
- type LruCdbm
- func (cdbm *LruCdbm) Find(key string) (base.CacheDirectoryBlock, error)
- func (cdbm *LruCdbm) MakeSpace(objectSize, sizeLimit int, f CacheCleanFunc) (base.CacheDirectoryBlock, error)
- func (cdbm *LruCdbm) Remove(key string, f CacheCleanFunc) error
- func (cdbm *LruCdbm) Replace(key string, object CacheObject, sizeLimit int, f CacheCleanFunc) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLRUCache ¶
func NewSafeLRUCache ¶
Types ¶
type ElementCdb ¶
Click to show internal directories.
Click to hide internal directories.