Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newBucketHTTPStats (0.17 sec)

  1. cmd/globals.go

    	// Global HTTP request statistics
    	globalHTTPStats = newHTTPStats()
    
    	// Global bucket network and API statistics
    	globalBucketConnStats = newBucketConnStats()
    	globalBucketHTTPStats = newBucketHTTPStats()
    
    	// Time when the server is started
    	globalBootTime = UTCNow()
    
    	globalActiveCred         auth.Credentials
    	globalNodeAuthToken      string
    	globalSiteReplicatorCred siteReplicatorCred
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. cmd/http-stats.go

    	totalS35xxErrors  *HTTPAPIStats
    	totalS3Canceled   *HTTPAPIStats
    }
    
    type bucketHTTPStats struct {
    	sync.RWMutex
    	httpStats map[string]bucketHTTPAPIStats
    }
    
    func newBucketHTTPStats() *bucketHTTPStats {
    	return &bucketHTTPStats{
    		httpStats: make(map[string]bucketHTTPAPIStats),
    	}
    }
    
    func (bh *bucketHTTPStats) delete(bucket string) {
    	bh.Lock()
    	defer bh.Unlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top