Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for restartTimer (0.16 sec)

  1. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/ExponentialBackoff.java

        }
    
        private ExponentialBackoff(int timeoutMs, S signal, long slotTime) {
            this.timeoutMs = timeoutMs;
            this.signal = signal;
            this.slotTime = slotTime;
            restartTimer();
        }
    
        public void restartTimer() {
            timer = Time.startCountdownTimer(timeoutMs);
        }
    
        /**
         * Retries the given query until it returns a 'sucessful' result.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:49:35 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java

                            if (lockInfo.port != -1) {
                                if (lockInfo.port != lastLockHolderPort) {
                                    backoff.restartTimer();
                                    lastLockHolderPort = lockInfo.port;
                                    lastPingTime = 0;
                                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top