Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for updateStats (0.87 sec)

  1. cmd/http-stats.go

    	serverStats.TotalS3Canceled = ServerHTTPAPIStats{
    		APIStats: st.totalS3Canceled.Load(toLowerKeys),
    	}
    	return serverStats
    }
    
    // Update statistics from http request and response data
    func (st *HTTPStats) updateStats(api string, w *xhttp.ResponseRecorder) {
    	st.totalS3Requests.Inc(api)
    
    	// Increment the prometheus http request response histogram with appropriate label
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. cmd/handler-utils.go

    		f.ServeHTTP(w, r)
    		globalHTTPStats.currentS3Requests.Dec(api)
    
    		tc, _ := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if tc != nil {
    			globalHTTPStats.updateStats(api, tc.ResponseRecorder)
    			globalConnStats.incS3InputBytes(int64(tc.RequestRecorder.Size()))
    			globalConnStats.incS3OutputBytes(int64(tc.ResponseRecorder.Size()))
    
    			if countBktStat {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.3K bytes
    - Viewed (1)
  3. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

                public void deleteBefore(int days) {
                    deleteJobLogCalled[0] = true;
                    jobLogDeletedDays[0] = days;
                }
    
                @Override
                public void updateStatus() {
                    updateJobLogStatusCalled[0] = true;
                }
            };
    
            UserInfoService userInfoService = new UserInfoService() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	if lrTime.Sub(currentReleaseTime) <= 0 {
    		updateStatus.Results = append(updateStatus.Results, madmin.ServerPeerUpdateStatus{
    			Host:           local,
    			Err:            fmt.Sprintf("server is running the latest version: %s", Version),
    			CurrentVersion: Version,
    		})
    
    		for _, client := range globalNotificationSys.peerClients {
    			updateStatus.Results = append(updateStatus.Results, madmin.ServerPeerUpdateStatus{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                    entry.updateState(Smb2LeaseState.SMB2_LEASE_NONE);
                }
                releaseLease(key);
            } catch (Exception e) {
                log.error("Error handling lease break for key: " + key, e);
                // On error, ensure we're in safe state
                LeaseEntry entry = leases.get(key);
                if (entry != null) {
                    entry.updateState(Smb2LeaseState.SMB2_LEASE_NONE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. docs/smb3-features/01-smb3-lease-design.md

                this.lastAccessTime = createTime;
                this.epoch = 1;
                this.breaking = false;
            }
            
            public synchronized void updateState(int newState) {
                this.leaseState = newState;
                this.lastAccessTime = System.currentTimeMillis();
            }
            
            public synchronized void incrementEpoch() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/storage/admin_storage_tag_edit.jsp

    										<em class="fa fa-arrow-circle-left">
    										<la:message key="labels.crud_button_back" />
    									</la:link>
    									<c:if test="${editable}">
    										<button type="submit" class="btn btn-success" name="updateTags"
    											value="<la:message key="labels.crud_button_update" />"
    										>
    											<em class="fa fa-pencil-alt">
    											<la:message key="labels.crud_button_update" />
    										</button>
    									</c:if>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu May 26 01:48:41 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

                logger.error("Failed to purge user info.", e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
            // update job logs
            try {
                jobLogService.updateStatus();
            } catch (final Exception e) {
                logger.error("Failed to purge job logs.", e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
            return resultBuf.toString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. cmd/site-replication-utils.go

    				wg.Wait()
    				sm.Unlock()
    			}
    			sTimer.Reset(siteResyncSaveInterval)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // update overall site resync state
    func (sm *siteResyncMetrics) updateState(s SiteResyncStatus) error {
    	if !globalSiteReplicationSys.isEnabled() {
    		return nil
    	}
    	sm.Lock()
    	defer sm.Unlock()
    	switch s.Status {
    	case ResyncStarted:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/JobLogService.java

        /**
         * Updates the status of expired jobs that haven't finished.
         * Jobs that have been running longer than the expired job interval
         * without an end time are marked as failed.
         */
        public void updateStatus() {
            final long expiry = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - expiredJobInterval;
            final List<JobLog> list = jobLogBhv.selectList(cb -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top