MCPcopy
hub / github.com/grafana/tempo / Store

Method Store

pkg/cache/cache.go:41–41  ·  pkg/cache/cache.go::Cache.Store
(ctx context.Context, key []string, buf [][]byte)

Source from the content-addressed store, hash-verified

39// when they returned an error.
40type Cache interface {
41 Store(ctx context.Context, key []string, buf [][]byte)
42 MaxItemSize() int
43 // TODO: both cached backend clients support deletion. Should we implement?
44 // Remove(ctx context.Context, key []string)

Callers 15

WriteMethod · 0.65
storeFunction · 0.65
TestCacheKeysFunction · 0.65
RunJobsMethod · 0.65
recordWriteMethod · 0.65
setFlushedMethod · 0.65
stopIncomingRequestsMethod · 0.65
updateProcessorsMethod · 0.65
NewPerLabelLimiterFunction · 0.65
doPeriodicMaintenanceMethod · 0.65
registerSeenSeriesMethod · 0.65
updateSeriesMethod · 0.65

Implementers 3

Memcachedpkg/cache/memcached.go
RedisCachepkg/cache/redis_cache.go
mockClientpkg/util/test/cache.go

Calls

no outgoing calls

Tested by 15

TestCacheKeysFunction · 0.52
TestInstanceFunction · 0.52
SendMethod · 0.52
TestSearchAccessesCacheFunction · 0.52
TestRetryFunction · 0.52
TestIsLaggedFunction · 0.52
fillCacheFunction · 0.52
testMemcacheFunction · 0.52