func NewSafeARCache(size int) *base.BaseCache { arc := newCdbm() c := base.NewSafeBaseCache(size, arc) return c }
func NewSafeLRUCache(size int) *base.BaseCache { lru := newCdbm() c := base.NewSafeBaseCache(size, lru) return c }