MCPcopy Index your code
hub / github.com/NVIDIA/aistore / PrefetchRange

Function PrefetchRange

api/multiobj.go:53–56  ·  view source on GitHub ↗

PrefetchRange sends request to prefetch a range of objects from a remote bucket.

(baseParams BaseParams, bck cmn.Bck, rng string)

Source from the content-addressed store, hash-verified

51
52// PrefetchRange sends request to prefetch a range of objects from a remote bucket.
53func PrefetchRange(baseParams BaseParams, bck cmn.Bck, rng string) (string, error) {
54 prefetchMsg := cmn.SelectObjsMsg{Template: rng}
55 return doListRangeRequest(baseParams, bck, apc.ActPrefetchObjects, prefetchMsg)
56}
57
58// EvictList sends request to evict a list of objects from a remote bucket.
59func EvictList(baseParams BaseParams, bck cmn.Bck, fileslist []string) (string, error) {

Callers 3

rangeOpFunction · 0.92
TestPrefetchRangeFunction · 0.92

Calls 1

doListRangeRequestFunction · 0.85

Tested by 2

TestPrefetchRangeFunction · 0.74