MCPcopy Create free account
hub / github.com/cortexproject/cortex / Fetch

Method Fetch

pkg/chunk/cache/cache.go:22–22  ·  view source on GitHub ↗
(ctx context.Context, keys []string)

Source from the content-addressed store, hash-verified

20type Cache interface {
21 Store(ctx context.Context, key []string, buf [][]byte)
22 Fetch(ctx context.Context, keys []string) (found []string, bufs [][]byte, missing []string)
23 Stop()
24}
25

Callers 15

FetchMethod · 0.65
convertUserMethod · 0.65
scanUserBlocksMethod · 0.65
getMethod · 0.65
FetchMethod · 0.65
TestTieredFunction · 0.65
testMemcacheFunction · 0.65
testMemcacheFailingFunction · 0.65
testMemcachedStoppingFunction · 0.65

Implementers 6

FifoCachepkg/chunk/cache/fifo_cache.go
mockCachepkg/chunk/cache/mock.go
instrumentedCachepkg/chunk/cache/instrumented.go
Memcachedpkg/chunk/cache/memcached.go
snappyCachepkg/chunk/cache/snappy.go
RedisCachepkg/chunk/cache/redis_cache.go

Calls

no outgoing calls

Tested by 11

TestTieredFunction · 0.52
testMemcacheFunction · 0.52
testMemcacheFailingFunction · 0.52
testMemcachedStoppingFunction · 0.52
TestRedisCacheFunction · 0.52
testCacheSingleFunction · 0.52
testCacheMultipleFunction · 0.52
testCacheMissFunction · 0.52