MCPcopy Create free account
hub / github.com/dadgar/onecache / MarkTouched

Method MarkTouched

onecache/replicator.go:22–22  ·  view source on GitHub ↗

Marks a key as being touched. Causes the new experation time to be replicated.

(key string)

Source from the content-addressed store, hash-verified

20
21 // Marks a key as being touched. Causes the new experation time to be replicated.
22 MarkTouched(key string)
23
24 // Marks a key as deleted and replicates the deletion.
25 MarkDeleted(key string)

Callers 2

TouchMethod · 0.65
TestMarkTouchedFunction · 0.65

Implementers 3

noOpReplicatoronecache/replicator.go
replicatoronecache/replicator.go
mockReplicatoronecache/replicator_test.go

Calls

no outgoing calls

Tested by 1

TestMarkTouchedFunction · 0.52