pcache

package
v0.0.0-...-79c606f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package pcache contains an implementation of an LRU cache for Partitions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLRU

func NewLRU(config *LRUConfig) sif.PartitionCache

NewLRU produces an LRU PartitionCache

Types

type LRUConfig

type LRUConfig struct {
	InitialSize int
	DiskPath    string
	Compressor  sif.Compressor
}

LRUConfig configures an LRU PartitionCache

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL