MCPcopy
hub / github.com/dgraph-io/dgraph / ResetCache

Function ResetCache

posting/mvcc.go:324–326  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

322}
323
324func ResetCache() {
325 MemLayerInstance.clear()
326}
327
328// RemoveCacheFor will delete the list corresponding to the given key.
329func RemoveCacheFor(key []byte) {

Callers 11

handleRestoreProposalFunction · 0.92
rollupFunction · 0.92
postStreamProcessingFunction · 0.92
populateSnapshotMethod · 0.92
applyMutationsMethod · 0.92
RunWithoutTempMethod · 0.85
DeleteAllFunction · 0.85
DeleteAllForNsFunction · 0.85
DeleteDataFunction · 0.85
DeletePredicateFunction · 0.85
DeleteNamespaceFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by 1

rollupFunction · 0.74