Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astercloud/aster
/ GetStats
Method
GetStats
pkg/tools/cache.go:235–237 ·
view source on GitHub ↗
GetStats 获取统计信息
()
Source
from the content-addressed store, hash-verified
233
234
// GetStats 获取统计信息
235
func
(c *ToolCache) GetStats() *CacheStats {
236
return
c.stats
237
}
238
239
// 内存缓存操作
240
Callers
8
TestToolCache_MemoryCache
Function · 0.95
TestToolCache_Expiration
Function · 0.95
TestToolCache_MaxMemoryItems
Function · 0.95
TestToolCache_Clear
Function · 0.95
TestCachedTool_Execute
Function · 0.95
TestToolCache_Disabled
Function · 0.95
TestToolCache_Cleanup
Function · 0.95
main
Function · 0.95
Calls
no outgoing calls
Tested by
7
TestToolCache_MemoryCache
Function · 0.76
TestToolCache_Expiration
Function · 0.76
TestToolCache_MaxMemoryItems
Function · 0.76
TestToolCache_Clear
Function · 0.76
TestCachedTool_Execute
Function · 0.76
TestToolCache_Disabled
Function · 0.76
TestToolCache_Cleanup
Function · 0.76