MCPcopy
hub / github.com/dropbox/godropbox / GetMulti

Method GetMulti

caching/interface.go:13–13  ·  view source on GitHub ↗

This retrieves multiple values from the storage. The items are returned in the same order as the input keys.

(keys ...interface{})

Source from the content-addressed store, hash-verified

11 // This retrieves multiple values from the storage. The items are returned
12 // in the same order as the input keys.
13 GetMulti(keys ...interface{}) ([]interface{}, error)
14
15 // This stores a single item into the storage.
16 Set(item interface{}) error

Callers 12

TestGetMultiMethod · 0.65
TestSetMultiMethod · 0.65
TestDeleteMethod · 0.65
TestDeleteMultiMethod · 0.65
GetMultiMethod · 0.65
GetMultiMethod · 0.65
TestGetMultiMethod · 0.65
TestSetMultiMethod · 0.65
TestDeleteMethod · 0.65
TestDeleteMultiMethod · 0.65
TestFlushMethod · 0.65
TestGetMultiMethod · 0.65

Implementers 7

MockClientmemcache/mock_client.go
RawBinaryClientmemcache/raw_binary_client.go
ShardedClientmemcache/sharded_client.go
RawAsciiClientmemcache/raw_ascii_client.go
RateLimitedStoragecaching/rate_limited_storage.go
CacheOnStoragecaching/cache_on_storage.go
GenericStoragecaching/generic_storage.go

Calls

no outgoing calls

Tested by 10

TestGetMultiMethod · 0.52
TestSetMultiMethod · 0.52
TestDeleteMethod · 0.52
TestDeleteMultiMethod · 0.52
TestGetMultiMethod · 0.52
TestSetMultiMethod · 0.52
TestDeleteMethod · 0.52
TestDeleteMultiMethod · 0.52
TestFlushMethod · 0.52
TestGetMultiMethod · 0.52