Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 164 for Stopped (0.12 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonStartupMessageTest.groovy

            0       | 1               | 0          | ["1 incompatible"]
            1       | 0               | 0          | ["1 busy"]
            0       | 0               | 1          | ["1 stopped"]
            1       | 2               | 4          | ["1 busy", "2 incompatible", "4 stopped"]
        }
    
        def "starting message contains subsequent builds message given no unavailable daemons"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/FileLockCommunicator.java

                    socket.send(packet);
                } catch (IOException e) {
                    if (!stopped) {
                        LOGGER.debug("Failed to confirm lock release to Gradle process at port {} for lock with id {}.", packet.getPort(), lockId);
                    }
                }
            }
        }
    
        public void stop() {
            stopped = true;
            socket.close();
        }
    
        public int getPort() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:49 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/deployment/internal/DefaultDeploymentRegistry.java

            } finally {
                LOGGER.debug("Stopped deployment handles");
                stopped = true;
                deployments.clear();
                lock.unlock();
            }
            pendingChangesManager.removeListener(this);
        }
    
        private void failIfStopped() {
            if (stopped) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonStopClient.java

                    LOGGER.debug("Requesting daemon {} stop now", connection.getDaemon());
                    boolean stopped = stopDispatcher.dispatch(connection, new Stop(idGenerator.generateId(), connection.getDaemon().getToken()));
                    if (stopped) {
                        numStopped++;
                    }
                } finally {
                    connection.stop();
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonTcpServerConnector.java

            lifecycleLock.lock();
            try {
                if (stopped) {
                    throw new IllegalStateException("server connector cannot be started as it is either stopping or has been stopped");
                }
                if (started) {
                    throw new IllegalStateException("server connector cannot be started as it has already been started");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleSpec.groovy

            when:
            startBuild()
    
            then:
            busy()
    
            when:
            completeBuild()
    
            then:
            idle()
    
            and:
            stopped()
        }
    
        //Java 9 and above needs --add-opens to make environment variable mutation work
        @Requires(UnitTestPreconditions.Jdk8OrEarlier)
        def "existing foreground idle daemons are used"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/LazyConsumerActionExecutor.java

            }
        }
    
        @Override
        public void disconnect() {
            lock.lock();
            try {
                if (stopped || connection == null) {
                    return;
                }
                requestCancellation();
                sendStopWhenIdleMessageToDaemons();
            } finally {
                stopped = true;
                lock.unlock();
            }
        }
    
        private void requestCancellation() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ExecutorFactory.java

         * Creates an executor which can run multiple actions concurrently. It is the caller's responsibility to stop the executor.
         *
         * The executor will collect failures thrown by actions and rethrow when the executor is stopped.
         *
         * @param displayName The display name for the this executor. Used for thread names, logging and error message.
         * @return The executor.
         */
        ManagedExecutor create(String displayName);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/deployment/internal/DefaultDeploymentRegistryTest.groovy

            then:
            def e = thrown(IllegalStateException)
            e.message == "Cannot modify deployment handles once the registry has been stopped."
        }
    
        def "cannot register a handle once the registry is stopped" () {
            given:
            registry.stop()
    
            when:
            registry.start("id", DeploymentRegistry.ChangeBehavior.NONE, TestDeploymentHandle)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStoppedException.java

     * limitations under the License.
     */
    
    package org.gradle.launcher.daemon.server.api;
    
    /**
     * Thrown when the daemon is stopped while running a command.
     */
    public class DaemonStoppedException extends RuntimeException {
        public static final String MESSAGE = "Gradle build daemon has been stopped";
    
        public DaemonStoppedException() {
            super(MESSAGE);
        }
    
        public DaemonStoppedException(String reason) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top