- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for RegisterRead (0.04 sec)
-
cmd/metrics-v2.go
dependGlobalIsDistErasure bool dependGlobalBackgroundHealState bool dependBucketTargetSys bool } // RegisterRead register the metrics populator function to be used // to populate new values upon cache invalidation. func (g *MetricsGroupV2) RegisterRead(read func(context.Context) []MetricV2) { g.metricsCache = cachevalue.NewFromFunc(g.cacheInterval, cachevalue.Opts{ReturnLastGood: true},
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 133.6K bytes - Viewed (0)