MCPcopy
hub / github.com/grafana/dskit / SetAsync

Method SetAsync

cache/cache.go:40–40  ·  view source on GitHub ↗

SetAsync enqueues an operation to store a key into a cache. In case the underlying operation fails, the error will be tracked/logged.

(key string, value []byte, ttl time.Duration)

Source from the content-addressed store, hash-verified

38 // SetAsync enqueues an operation to store a key into a cache. In case the underlying
39 // operation fails, the error will be tracked/logged.
40 SetAsync(key string, value []byte, ttl time.Duration)
41
42 // SetMultiAsync enqueues operations to store a keys and values into a cache. In case
43 // any underlying async operations fail, the errors will be tracked/logged.

Callers 12

SetAsyncMethod · 0.65
SetAsyncMethod · 0.65
SetAsyncMethod · 0.65
SetAsyncMethod · 0.65
SetAsyncMethod · 0.65

Implementers 7

Versionedcache/versioned.go
MemcachedClientcache/memcached_client.go
LRUCachecache/lru.go
MockCachecache/mock.go
SpanlessTracingCachecache/tracing.go
SnappyCachecache/compression.go

Calls

no outgoing calls