Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for startCountdownTimer (0.7 sec)

  1. 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)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonConnector.java

            if (!compatibleCanceledDaemons.isEmpty()) {
                LOGGER.info(DaemonMessages.WAITING_ON_CANCELED);
                CountdownTimer timer = Time.startCountdownTimer(CANCELED_WAIT_TIMEOUT);
                while (connection == null && !timer.hasExpired()) {
                    try {
                        sleep(200);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  3. 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)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

            // For stats we don't really care about thread safety
            private int cacheMiss;
            private int cacheHit;
            private int evict;
    
            private CountdownTimer cleanupTimer = Time.startCountdownTimer(MINIMAL_CLEANUP_INTERVAL);
    
            private static class MethodInvocationKey {
                private final SoftReference<Class<?>> lookupClass;
                private final String methodName;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
Back to top