Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexCache ¶
type IndexCache struct {
// contains filtered or unexported fields
}
func NewIndexCache ¶
func NewIndexCache(logger log.Logger, reg prometheus.Registerer, opts Opts) (*IndexCache, error)
NewIndexCache creates a new thread-safe LRU cache for index entries and ensures the total cache size approximately does not exceed maxBytes.
func (*IndexCache) SetPostings ¶
Click to show internal directories.
Click to hide internal directories.