Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crowdriff/lru
/ types & classes
Types & classes
14 in github.com/crowdriff/lru
⨍
Functions
89
◇
Types & classes
14
Interface
Algorithm
Algorithm represents the underlying algorithm managing an LRU.
algorithm.go:4
Struct
BasicLRU
BasicLRU is an implementation of a basic least recently used (LRU) cache. For more information, see: https://en.wikipedia.org/wiki/Page_replacement_al
basiclru.go:7
Struct
Buffer
Buffer represents data obtained from the cache using an underlying pooled buffer. After using a Buffer, its Close method should be called to release t
bufpool.go:32
Struct
LRU
LRU is a persistent read-through local cache backed by BoltDB and a remote store of your choosing.
lru.go:22
Struct
Stats
Stats contains a number of stats pertaining to an LRU.
stats.go:8
Interface
Store
Store is an interface representing a remote data store.
store.go:8
Struct
TwoQ
TwoQ is an implementation of the 2Q LRU algorithm, as defined by Theodore Johnson and Dennis Shasha: http://www.vldb.org/conf/1994/P439.PDF The TwoQ
twoq.go:31
Struct
errStore
lru_test.go:369
Struct
lruItem
lruItem represents a single item in the eviction list.
basiclru.go:46
Struct
noStore
noStore conforms to the Store interface and returns an error upon any Get evocation.
store.go:20
Struct
req
req represents a remote store request.
lru.go:51
Struct
testStore
lru_suite_test.go:50
Struct
twoQItem
twoQItem represents a single item in the LRU.
twoq.go:101
Struct
twoQList
twoQList represents a basic LRU.
twoq.go:235