Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 235 for destroyFn (0.14 sec)

  1. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

            }
        }
    
        @Timeout(30)
        def "downstream dependencies of a failed task do not block destroyer to run"() {
            buildFile << """
                def mutatedFile = file("build/mutated.txt")
                def destroyer = tasks.register("destroyer") {
                    destroyables.register(mutatedFile)
                    doLast {
                        assert mutatedFile.delete()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/process/internal/ExecHandleRunner.java

                }
                aborted = true;
                if (process != null) {
                    streamsHandler.disconnect();
                    LOGGER.debug("Abort requested. Destroying process: {}.", execHandle.getDisplayName());
                    process.destroy();
                }
            } finally {
                lock.unlock();
            }
        }
    
        @Override
        public void run() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                final Thread shutdownCallback = new Thread("ShutdownHook") {
                    @Override
                    public void run() {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Destroying LaContainer..");
                        }
                        destroyContainer();
                    }
                };
                Runtime.getRuntime().addShutdownHook(shutdownCallback);
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/OrdinalNodeAccess.java

            this.ordinalGroups = ordinalGroups;
        }
    
        void addDestroyerNode(OrdinalGroup ordinal, LocalTaskNode destroyer, Consumer<Node> ordinalNodeConsumer) {
            // Create (or get) a destroyer ordinal node that depends on the output locations of this task node
            ordinal.getDestroyerLocationsNode().addDependenciesFrom(destroyer);
    
            // Depend on any previous producer ordinal nodes (i.e. any producer ordinal nodes with a lower ordinal)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 28 21:49:39 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/ipset/ipset.go

    	}
    	return nil
    }
    
    // DestroySet is used to destroy a named set.
    func (runner *runner) DestroySet(set string) error {
    	if out, err := runner.exec.Command(IPSetCmd, "destroy", set).CombinedOutput(); err != nil {
    		return fmt.Errorf("error destroying set %s, error: %v(%s)", set, err, out)
    	}
    	return nil
    }
    
    // DestroyAllSets is used to destroy all sets.
    func (runner *runner) DestroyAllSets() error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

            if (running.getAndSet(false)) {
                TimeoutManager.getInstance().stop();
                if (logger.isDebugEnabled()) {
                    logger.debug("Destroying LaContainer...");
                }
                SingletonLaContainerFactory.destroy();
                logger.info("Destroyed LaContainer.");
            }
        }
    
        private static int process(final Options options) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

                if (logger.isDebugEnabled()) {
                    logger.debug("container was destroyed.");
                }
                return;
            } catch (final Exception e) {
                if (!ComponentUtil.available()) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("container was destroyed.");
                    }
                    return;
                }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/dryrun_test.go

    	sc.Codec = apitesting.TestStorageCodec(codecs, examplev1.SchemeGroupVersion)
    	s, destroy, err := factory.Create(*sc.ForResource(schema.GroupResource{Resource: "pods"}), nil, nil, "")
    	if err != nil {
    		t.Fatalf("Error creating storage: %v", err)
    	}
    	return DryRunnableStorage{Storage: s, Codec: sc.Codec}, func() {
    		destroy()
    		server.Terminate(t)
    	}
    }
    
    func UnstructuredOrDie(j string) *unstructured.Unstructured {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. pkg/registry/core/pod/rest/subresources.go

    // New returns an empty podProxyOptions object.
    func (r *ProxyREST) New() runtime.Object {
    	return &api.PodProxyOptions{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *ProxyREST) Destroy() {
    	// Given that underlying store is shared with REST,
    	// we don't destroy it here explicitly.
    }
    
    // ConnectMethods returns the list of HTTP methods that can be proxied
    func (r *ProxyREST) ConnectMethods() []string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. pkg/registry/core/service/allocator/interfaces.go

    	Allocate(int) (bool, error)
    	AllocateNext() (int, bool, error)
    	Release(int) error
    	ForEach(func(int))
    	Has(int) bool
    	Free() int
    
    	// Destroy shuts down all internal structures.
    	// Destroy needs to be implemented in thread-safe way and be prepared for being
    	// called more than once.
    	Destroy()
    }
    
    // Snapshottable is an Interface that can be snapshotted and restored. Snapshottable
    // should be threadsafe.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 22 10:35:43 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top