MCPcopy
hub / github.com/wal-g/wal-g / Read

Method Read

internal/multistorage/stats/cache/cache.go:12–12  ·  view source on GitHub ↗

Read the cached state for storages with specified names and split them by relevance according to the cache TTL.

(storageNames ...string)

Source from the content-addressed store, hash-verified

10type Cache interface {
11 // Read the cached state for storages with specified names and split them by relevance according to the cache TTL.
12 Read(storageNames ...string) (relevant, outdated AliveMap, err error)
13
14 // ApplyExplicitCheckResult with specifying which checked storages were alive, and return the new cached state for
15 // all storages with specified names.

Callers 15

TestFastCopy_NormalCasesFunction · 0.65
ReadMethod · 0.65
fillBufferFunction · 0.65
RunFolderTestFunction · 0.65
ReadMethod · 0.65
TestCascadeFileCloserFunction · 0.65
ReadMethod · 0.65
readTrailingZerosFunction · 0.65
CreateThreeJournalsFunction · 0.65

Implementers 1

cacheinternal/multistorage/stats/cache/cach

Calls

no outgoing calls

Tested by 15

TestFastCopy_NormalCasesFunction · 0.52
TestCascadeFileCloserFunction · 0.52
ReadMethod · 0.52
CreateThreeJournalsFunction · 0.52
TestDeleteJournalInBeginFunction · 0.52
TestDeleteJournalInEndFunction · 0.52
ReadMethod · 0.52