Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 342 for stopCh (0.14 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/actor/internal/DefaultActorFactory.java

            this.executorFactory = executorFactory;
        }
    
        /**
         * Stops all actors.
         */
        @Override
        public void stop() {
            synchronized (lock) {
                try {
                    CompositeStoppable.stoppable(nonBlockingActors.values()).add(blockingActors.values()).stop();
                } finally {
                    nonBlockingActors.clear();
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/Daemon.java

        }
    
        /**
         * Stops the daemon, blocking until any current requests/connections have been satisfied.
         * <p>
         * This is the semantically the same as sending the daemon the Stop command.
         * <p>
         * This method does not quite conform to the semantics of the Stoppable contract in that it will NOT
         * wait for any executing builds to stop before returning. This is by design as we currently have no way of
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    					// Add non-compacted empty entry.
    					f.updateCache.replaceHashed(h, &thisHash, dataUsageEntry{})
    				}
    			}
    			f.updateCurrentPath(folder.name)
    			stopFn := globalScannerMetrics.log(scannerMetricScanFolder, f.root, folder.name)
    			scanFolder(folder)
    			stopFn(map[string]string{"type": "new"})
    
    			// Add new folders if this is new and we don't have existing.
    			if !into.Compacted {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java

        }
    
        /**
         * Forcibly stops the daemon, even if it is busy.
         *
         * If the daemon is busy and the client is waiting for a response, it may receive “null” from the daemon as the connection may be closed by this method before the result is sent back.
         *
         * @see #requestStop(String reason)
         */
        @Override
        public void stop() {
            stopNow("service stop");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. cmd/batch-expire.go

    					default:
    					}
    					stopFn := globalBatchJobsMetrics.trace(batchJobMetricExpire, ri.JobID, attempts)
    					_, err := api.DeleteObject(ctx, exp.Bucket, encodeDirObject(exp.Name), ObjectOptions{
    						DeletePrefix:       true,
    						DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    					})
    					if err != nil {
    						stopFn(exp, err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 13:50:53 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy

        }
    
        def "an exception from stop action is rethrown"() {
            given:
            def provider = registerService("service", ServiceImpl)
            provider.beforeStopping { throw new UnsupportedOperationException("Don't stop") }
            when:
            buildFinished()
    
            then:
            thrown(Exception)
        }
    
        def "other stop actions run if one of them throws"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. cmd/ftp-server-driver.go

    	stopFn := globalFtpMetrics.log(ctx, fromObjPath, toObjPath)
    	defer stopFn(0, err)
    
    	return NotImplemented{}
    }
    
    // MakeDir implements ftpDriver
    func (driver *ftpDriver) MakeDir(ctx *ftp.Context, objPath string) (err error) {
    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(0, err)
    
    	bucket, prefix := path2BucketObject(objPath)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

        def setup() {
            waitFor = new PollingConditions(timeout: 60, initialDelay: 0, factor: 1.25)
            toolingApi.requireIsolatedDaemons()
        }
    
        @TargetGradleVersion(">=6.5")
        def "disconnect during build stops daemon"() {
            setup:
            buildFile.text = """
                task hang {
                    doLast {
                        ${server.callFromBuild("waiting")}
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClientCancellationHandler.java

    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    import java.util.concurrent.atomic.AtomicBoolean;
    
    /**
     * A handler that stops all worker daemons when the build is cancelled.
     */
    @ServiceScope(Scope.BuildSession.class)
    @NonNullApi
    public class WorkerDaemonClientCancellationHandler implements Stoppable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. security/pkg/nodeagent/sds/sdsservice.go

    		b := backoff.NewExponentialBackOff(backoff.DefaultOption())
    		// context for both timeout and channel, whichever stops first, the context will be done
    		ctx, cancel := context.WithCancel(context.Background())
    		go func() {
    			select {
    			case <-ret.stop:
    				cancel()
    			case <-ctx.Done():
    			}
    		}()
    		defer cancel()
    		_ = b.RetryWithContext(ctx, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top