MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / TotalMemorySize

Method TotalMemorySize

internal/caches/storage_memory.go:411–413  ·  view source on GitHub ↗

TotalMemorySize 内存尺寸

()

Source from the content-addressed store, hash-verified

409
410// TotalMemorySize 内存尺寸
411func (this *MemoryStorage) TotalMemorySize() int64 {
412 return atomic.LoadInt64(&this.usedSize)
413}
414
415// IgnoreKey 忽略某个Key,即不缓存某个Key
416func (this *MemoryStorage) IgnoreKey(key string, maxSize int64) {

Callers 1

purgeLoopMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected