- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for startCountdownTimer (0.52 sec)
-
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/Time.java
return new DefaultTimer(TimeSource.SYSTEM); } public static CountdownTimer startCountdownTimer(long timeoutMillis) { return new DefaultCountdownTimer(TimeSource.SYSTEM, timeoutMillis, TimeUnit.MILLISECONDS); } public static CountdownTimer startCountdownTimer(long timeout, TimeUnit unit) { return new DefaultCountdownTimer(TimeSource.SYSTEM, timeout, unit); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:20:17 UTC 2024 - 2.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/LegacyDaemon.groovy
} } protected void waitForState(State state) { def timer = Time.startCountdownTimer(STATE_CHANGE_TIMEOUT) def lastLogState = logFileProbe.currentState while (!timer.hasExpired() && lastLogState != state) { Thread.sleep(200) lastLogState = logFileProbe.currentState
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 15:22:16 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonStopClient.java
connection.stop(); } } } /** * Stops all daemons, blocking until all have completed. */ public void stop() { CountdownTimer timer = Time.startCountdownTimer(STOP_TIMEOUT_SECONDS, TimeUnit.SECONDS); final Set<String> seen = new HashSet<String>(); ExplainingSpec<DaemonContext> spec = new ExplainingSpec<DaemonContext>() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/TestableDaemon.groovy
this.registryProbe = new DaemonRegistryStateProbe(registry, context) } protected void waitForState(State state) { def timer = Time.startCountdownTimer(STATE_CHANGE_TIMEOUT) def lastRegistryState = registryProbe.currentState def lastLogState = logFileProbe.currentState
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 15:22:16 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiIntegrationTest.groovy
// Wait for the tooling API to start the build def startMarkerFile = projectDir.file("start.marker") def foundStartMarker = startMarkerFile.exists() CountdownTimer startTimer = Time.startCountdownTimer(startTimeoutMs) while (handle.running && !foundStartMarker) { if (startTimer.hasExpired()) { throw new Exception("timeout waiting for start marker") } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 13.8K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/ExclusiveCacheAccessingWorker.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 8.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonConnector.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 14.1K bytes - Viewed (0) -
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/ExponentialBackoff.java
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. * * @param query which returns non-null value when successful. * @param <T> the result type.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:49:35 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/timeout/impl/DefaultTimeoutHandler.java
thread.interrupt(); logStacktraceTimer = Time.startCountdownTimer(slowStopLogStacktraceFrequency()); scheduledFuture = executor.schedule(this::onAfterTimeoutCheck, postTimeoutCheckFrequency(), TimeUnit.MILLISECONDS); } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java
* @return null if the current build could be cancelled cleanly, otherwise the result of stopping the daemon */ @Nullable private DaemonStopState cancelNow() { CountdownTimer timer = Time.startCountdownTimer(cancelTimeoutMs); LOGGER.debug("Cancel requested: will wait for daemon to become idle."); try { cancellationToken.cancel(); } catch (Exception ex) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 17.1K bytes - Viewed (0)