Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,003 for daemons (0.39 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonStopClient.java

        }
    
        /**
         * Requests that the given daemons stop when idle. Does not block and returns before the daemons have all stopped.
         */
        public void gracefulStop(Collection<DaemonConnectDetails> daemons) {
            for (DaemonConnectDetails daemon : daemons) {
                DaemonClientConnection connection = connector.maybeConnect(daemon);
                if (connection == null) {
                    continue;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/ReportDaemonStatusClientTest.groovy

        }
    
        def "requests status report from all daemons"() {
            given:
            def daemon1 = Stub(DaemonInfo)
            def daemon2 = Stub(DaemonInfo)
    
            when:
            client.listAll()
    
            then:
            1 * registry.getAll() >> { [daemon1, daemon2] as List<DaemonInfo> }
            1 * connector.maybeConnect(daemon1) >>> connection
            _ * connection.daemon >> daemon1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonsFixture.java

         */
        List<? extends DaemonFixture> getVisible();
    
        /**
         * Convenience to get a single daemon. Fails if there is not exactly 1 daemon.
         */
        DaemonFixture getDaemon();
    
        /**
         * Returns the base dir of the daemon.
         */
        File getDaemonBaseDir();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/InvalidateVirtualFileSystemAfterChangeCrossVersionSpec.groovy

        }
    
        private int countExecutedCommands() {
            toolingApi.daemons.daemon.log.count("command = ")
        }
    
        private void createIdleDaemon() {
            withConnection { connection ->
                connection.model(GradleBuild).get()
            }
            toolingApi.daemons.daemon.assertIdle()
        }
    
        def cleanup() {
            toolingApi.close()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/optimizing-performance/gradle_daemon.adoc

    Live Daemons appear under the name `GradleDaemon`.
    Because this command uses the JDK, you can view Daemons running any version of Gradle.
    
    [[enable_deamon]]
    == Enable Daemon
    
    Gradle enables the Daemon by default since Gradle 3.0.
    If your project doesn't use the Daemon, you can enable it for a single build with the `--daemon` flag when you run a build:
    
    ----
    $ gradle <task> --daemon
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:43:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitoringIntegrationTest.groovy

            failure.assertHasDescription("Gradle build daemon has been stopped: since the JVM garbage collector is thrashing")
    
            and:
            daemons.daemon.stops()
    
            and:
            daemons.daemon.log.contains(DAEMON_STOPPING_IMMEDIATELY_MESSAGE)
            // We do not check the regular build output since sometimes it is not written before the daemon is killed.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationIntegrationTest.groovy

            cancelBuild(task)
    
            assert daemons.daemons.size() == 1
        }
    
        private void assertTaskIsCancellable(String task, boolean buildCacheEnabled = false) {
            startBuild(task, buildCacheEnabled)
            cancelBuild(task)
    
            def build = executer.withTasks("help").withArguments("--debug").start()
            build.waitForFinish()
            assert daemons.daemons.size() == 1
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 04:31:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleEncodingSpec.groovy

            daemons(gradleVersion).daemons.size() == 1
    
            when:
            executer.withEnvironmentVars(GRADLE_OPTS: "-Dfile.encoding=ISO-8859-1");
            executer.withArgument("-i")
            run "verify"
    
            then:
            output.contains("verified = ISO-8859-1")
            daemons(gradleVersion).daemons.size() == 2
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ShutdownCoordinator.java

        private final Set<DaemonConnectDetails> daemons = new CopyOnWriteArraySet<DaemonConnectDetails>();
        private final DaemonStopClient client;
    
        public ShutdownCoordinator(DaemonStopClient client) {
            this.client = client;
        }
    
        @Override
        public void daemonStarted(DaemonConnectDetails daemon) {
            daemons.add(daemon);
        }
    
        @Override
        public void stop() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/instrumentation-agent-services/src/integTest/groovy/org/gradle/internal/instrumentation/agent/AgentApplicationTest.groovy

            reason = "Testing the daemons"
        )
        def "daemon with the same agent status is reused"() {
            given:
            executer.requireIsolatedDaemons()
            withDumpAgentStatusTask()
    
            when:
            withAgentApplied(useAgentOnFirstRun)
            succeeds()
    
            then:
            daemons.daemon.becomesIdle()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top