Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BucketStats (0.17 sec)

  1. cmd/bucket-replication-metrics.go

    	srProxyStats ProxyMetric
    	bucketStats  map[string]ProxyMetric
    	sync.RWMutex // mutex for proxy stats
    }
    
    func newProxyStatsCache() proxyStatsCache {
    	return proxyStatsCache{
    		bucketStats: make(map[string]ProxyMetric),
    	}
    }
    
    func (p *proxyStatsCache) inc(bucket string, api replProxyAPI, isErr bool) {
    	p.Lock()
    	defer p.Unlock()
    	v, ok := p.bucketStats[bucket]
    	if !ok {
    		v = ProxyMetric{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top