Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for getTotal (0.22 sec)

  1. cmd/bucket-replication-metrics.go

    		} else {
    			atomic.AddUint64(&v.HeadFailedTotal, 1)
    			atomic.AddUint64(&p.srProxyStats.HeadFailedTotal, 1)
    		}
    	case getObjectAPI:
    		if !isErr {
    			atomic.AddUint64(&v.GetTotal, 1)
    			atomic.AddUint64(&p.srProxyStats.GetTotal, 1)
    		} else {
    			atomic.AddUint64(&v.GetFailedTotal, 1)
    			atomic.AddUint64(&p.srProxyStats.GetFailedTotal, 1)
    		}
    	default:
    		return
    	}
    	p.bucketStats[bucket] = v
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/bucket-stats.go

    }
    
    func (rl *ReplicationLastMinute) String() string {
    	t := rl.LastMinute.getTotal()
    	return fmt.Sprintf("ReplicationLastMinute sz= %d, n=%d , dur=%d", t.Size, t.N, t.Total)
    }
    
    func (rl *ReplicationLastMinute) getTotal() AccElem {
    	return rl.LastMinute.getTotal()
    }
    
    // ReplicationLastHour keeps track of replication counts over the last hour
    type ReplicationLastHour struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            this.client = client;
            this.settings = settings;
            this.indexName = indexName;
            supportedFields = settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS);
            totalDocNum = getTotal();
        }
    
        @Override
        public synchronized Map<String, Object> read() {
            while (!isFinished.get() && queue.isEmpty()) {
                addDocumentToQueue();
            }
    
            return queue.poll();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

        public long getTookMs() {
            return tookMs;
        }
    
        public List<String> getWords() {
            return words;
        }
    
        public int getNum() {
            return num;
        }
    
        public long getTotal() {
            return total;
        }
    
        public List<SuggestItem> getItems() {
            return items;
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java

        public long getTookMs() {
            return tookMs;
        }
    
        public List<String> getWords() {
            return words;
        }
    
        public int getNum() {
            return num;
        }
    
        public long getTotal() {
            return total;
        }
    
        public List<SuggestItem> getItems() {
            return items;
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. cmd/metrics-v3-bucket-replication.go

    					m.Set(bucketReplProxiedGetRequestsFailures, float64(s.ProxyStats.GetFailedTotal), labels...)
    					m.Set(bucketReplProxiedGetRequestsTotal, float64(s.ProxyStats.GetTotal), labels...)
    					m.Set(bucketReplProxiedGetTaggingRequestsFailures, float64(s.ProxyStats.GetTagFailedTotal), labels...)
    					m.Set(bucketReplProxiedGetTaggingRequestsTotal, float64(s.ProxyStats.GetTagTotal), labels...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. cmd/bucket-targets.go

    	avg     time.Duration
    	peak    time.Duration
    	N       int64
    }
    
    func (l *latencyStat) update(d time.Duration) {
    	l.lastmin.add(d)
    	l.N++
    	if d > l.peak {
    		l.peak = d
    	}
    	l.curr = l.lastmin.getTotal().avg()
    	l.avg = time.Duration((int64(l.avg)*(l.N-1) + int64(l.curr)) / l.N)
    }
    
    // epHealth struct represents health of a replication target endpoint.
    type epHealth struct {
    	Endpoint        string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                buf.append("\"query_time\":").append(suggestResponse.getTookMs());
                buf.append(",\"record_count\":").append(suggestResponse.getTotal());
                buf.append(",\"page_size\":").append(suggestResponse.getNum());
    
                if (!suggestResponse.getItems().isEmpty()) {
                    buf.append(",\"data\":[");
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  9. cmd/xl-storage-disk-id-check.go

    }
    
    // total returns the total call count and latency for the last minute.
    func (e *lockedLastMinuteLatency) total() AccElem {
    	e.mu.Lock()
    	defer e.mu.Unlock()
    	return e.lastMinuteLatency.getTotal()
    }
    
    func newXLStorageDiskIDCheck(storage *xlStorage, healthCheck bool) *xlStorageDiskIDCheck {
    	xl := xlStorageDiskIDCheck{
    		storage:      storage,
    		health:       newDiskHealthTracker(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    					})
    				}
    			}
    			ml = append(ml, MetricV2{
    				Description: getClusterReplProxiedGetOperationsMD(clusterMetricNamespace),
    				Value:       float64(m.Proxied.GetTotal),
    			})
    			ml = append(ml, MetricV2{
    				Description: getClusterReplProxiedHeadOperationsMD(clusterMetricNamespace),
    				Value:       float64(m.Proxied.HeadTotal),
    			})
    			ml = append(ml, MetricV2{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top