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

Method SetMultiAsync

cache/memcached_client.go:316–320  ·  view source on GitHub ↗
(data map[string][]byte, ttl time.Duration)

Source from the content-addressed store, hash-verified

314}
315
316func (c *MemcachedClient) SetMultiAsync(data map[string][]byte, ttl time.Duration) {
317 for k, v := range data {
318 c.SetAsync(k, v, ttl)
319 }
320}
321
322func (c *MemcachedClient) SetAsync(key string, value []byte, ttl time.Duration) {
323 if !c.itemSizeIsAcceptable(key, value, opSet) {

Callers

nothing calls this directly

Calls 1

SetAsyncMethod · 0.95

Tested by

no test coverage detected