//
pkg.gl
Category
github.com/cockroachdb/pebble
internal
cache
package
1.1.4
Repository:
https://github.com/cockroachdb/pebble.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
14
Dependents
4
Files
1.3k SLOC
#
Functions
Alloc
Alloc allocates a byte slice of the specified size, possibly reusing previously allocated but unused memory.
Free
Free frees the specified value.
New
New creates a new cache of the specified size.
#
Structs
Cache
Cache implements Pebble's sharded block cache.
Handle
Handle provides a strong reference to a value in the cache.
Metrics
Metrics holds metrics for the cache.
Value
Value holds a reference counted immutable value.