MCPcopy Create free account
hub / github.com/golang/appengine / GetMulti

Function GetMulti

v2/memcache/memcache.go:154–157  ·  view source on GitHub ↗

GetMulti is a batch version of Get. The returned map from keys to items may have fewer elements than the input slice, due to memcache cache misses. Each key must be at most 250 bytes in length.

(c context.Context, key []string)

Source from the content-addressed store, hash-verified

152// have fewer elements than the input slice, due to memcache cache misses.
153// Each key must be at most 250 bytes in length.
154func GetMulti(c context.Context, key []string) (map[string]*Item, error) {
155 cas, peek := true, false
156 return getMulti(c, key, cas, peek)
157}
158
159// Peek gets the item for the given key and additionally populates Item.Timestamps.
160// ErrCacheMiss is returned for a memcache cache miss. The key must be at most 250

Callers 1

TestGetMultiEmptyFunction · 0.70

Calls 1

getMultiFunction · 0.70

Tested by 1

TestGetMultiEmptyFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…