Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetBandwidthReports (0.09 sec)

  1. cmd/bucket-replication-handlers.go

    		return
    	}
    
    	w.Header().Set(xhttp.ContentType, string(mimeJSON))
    
    	enc := json.NewEncoder(w)
    	stats := globalReplicationStats.Load().getLatestReplicationStats(bucket)
    	bwRpt := globalNotificationSys.GetBandwidthReports(ctx, bucket)
    	bwMap := bwRpt.BucketStats
    	for arn, st := range stats.ReplicationStats.Stats {
    		for opts, bw := range bwMap {
    			if opts.ReplicationARN != "" && opts.ReplicationARN == arn {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. cmd/notification.go

    	remote, all := newPeerRestClients(endpoints)
    	return &NotificationSys{
    		peerClients:    remote,
    		allPeerClients: all,
    	}
    }
    
    // GetBandwidthReports - gets the bandwidth report from all nodes including self.
    func (sys *NotificationSys) GetBandwidthReports(ctx context.Context, buckets ...string) bandwidth.BucketBandwidthReport {
    	reports := make([]*bandwidth.BucketBandwidthReport, len(sys.peerClients))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top