MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / AddToList

Method AddToList

internal/caches/storage_interface.go:54–54  ·  view source on GitHub ↗

AddToList 将缓存添加到列表

(item *Item)

Source from the content-addressed store, hash-verified

52
53 // AddToList 将缓存添加到列表
54 AddToList(item *Item)
55
56 // IgnoreKey 忽略某个Key,即不缓存某个Key
57 IgnoreKey(key string, maxSize int64)

Callers 10

AddToListMethod · 0.65
hotLoopMethod · 0.65
flushItemMethod · 0.65
TestMemoryStorage_StatFunction · 0.65
TestMemoryStorage_ExpireFunction · 0.65
finishWebPMethod · 0.65
finishCacheMethod · 0.65
finishCompressionMethod · 0.65
handleWriteCacheMethod · 0.65

Implementers 2

FileStorageinternal/caches/storage_file.go
MemoryStorageinternal/caches/storage_memory.go

Calls

no outgoing calls

Tested by 3

TestMemoryStorage_StatFunction · 0.52
TestMemoryStorage_ExpireFunction · 0.52