Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RistrettoCache ¶
type RistrettoCache struct {
// contains filtered or unexported fields
}
func NewRistrettoCache ¶
func NewRistrettoCache(numCounters, maxCost int64, bufferItems int64) (*RistrettoCache, error)
func (*RistrettoCache) Del ¶
func (r *RistrettoCache) Del(key string)
func (*RistrettoCache) Wait ¶
func (r *RistrettoCache) Wait()
Wait flushes pending sets (useful for tests determinism)
Click to show internal directories.
Click to hide internal directories.