Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Merge (0.18 sec)

  1. cmd/bucket-replication-metrics.go

    // InQueueMetric holds queue stats for replication
    type InQueueMetric struct {
    	Curr QStat `json:"curr" msg:"cq"`
    	Avg  QStat `json:"avg" msg:"aq"`
    	Max  QStat `json:"max" msg:"pq"`
    }
    
    func (qm InQueueMetric) merge(o InQueueMetric) InQueueMetric {
    	return InQueueMetric{
    		Curr: qm.Curr.add(o.Curr),
    		Avg:  qm.Avg.add(o.Avg),
    		Max:  qm.Max.add(o.Max),
    	}
    }
    
    type queueCache struct {
    	srQueueStats InQueueStats
    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