Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 155 for STOPPED (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. staging/src/k8s.io/apimachinery/pkg/watch/mux_test.go

    	// eventBroadcaster
    	// 2. Shutdown the m.incoming slightly Before m.stopped so that the watcher's
    	// call of Blockqueue can pass the m.stopped check.
    	m.blockQueue(func() {
    		close(stopCh)
    		close(m.incoming)
    		time.Sleep(1 * time.Millisecond)
    		close(m.stopped)
    	})
    	m.distributing.Wait()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 16 15:26:25 UTC 2022
    - 8K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/AbstractDaemonFixture.groovy

            this
        }
    
        DaemonFixture stops() {
            waitForState(Stopped)
            this
        }
    
        @Override
        void assertIdle() {
            assertHasState(Idle)
        }
    
        @Override
        void assertBusy() {
            assertHasState(Busy)
        }
    
        @Override
        void assertStopped() {
            assertHasState(Stopped)
        }
    
        @Override
        void assertCanceled() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultGradleConnector.java

        private final DistributionFactory distributionFactory;
        private Distribution distribution;
    
        private final List<DefaultProjectConnection> connections = new ArrayList<DefaultProjectConnection>(4);
        private boolean stopped = false;
    
        private final DefaultConnectionParameters.Builder connectionParamsBuilder = DefaultConnectionParameters.builder();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. security/pkg/nodeagent/sds/server.go

    	workloadSds *sdsservice
    
    	grpcWorkloadListener net.Listener
    
    	grpcWorkloadServer *grpc.Server
    	stopped            *atomic.Bool
    }
    
    // NewServer creates and starts the Grpc server for SDS.
    func NewServer(options *security.Options, workloadSecretCache security.SecretManager, pkpConf *mesh.PrivateKeyProvider) *Server {
    	s := &Server{stopped: atomic.NewBool(false)}
    	s.workloadSds = newSDSService(workloadSecretCache, options, pkpConf)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 17:44:41 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ExecutorPolicy.java

         */
        <T> T onExecute(Callable<T> command) throws Exception;
    
        /**
         * Special behavior after an executor is stopped.
         *
         * This is called after the underlying Executor has been stopped.
         */
        void onStop();
    
        /**
         * Runs the Runnable, catches all Throwables and logs them.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/StoppingDaemonIntegrationSpec.groovy

        }
    
        def "reports exact number of daemons stopped and keeps console output clean"() {
            given:
            executer.noExtraLogging()
            executer.run()
    
            when:
            def out = executer.withArguments("--stop").run().normalizedOutput
    
            then:
            out == '''Stopping Daemon(s)
    1 Daemon stopped
    '''
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top