Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for onExecute (0.15 sec)

  1. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ExecutorPolicy.java

         *
         * The Runnable's run() needs to be called from this method.
         */
        void onExecute(Runnable command);
    
        /**
         * Special behavior when a task is executed.
         *
         * The Callable's call() needs to be called from this method.
         */
        <T> T onExecute(Callable<T> command) throws Exception;
    
        /**
         * Special behavior after an executor is stopped.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/AbstractManagedExecutor.java

            return new Runnable() {
                @Override
                public void run() {
                    executing.set(command);
                    try {
                        executorPolicy.onExecute(command);
                    } finally {
                        executing.remove();
                    }
                }
            };
        }
    
        protected <V> Callable<V> trackedCommand(final Callable<V> command) {
    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/main/java/org/gradle/internal/service/scopes/DefaultWorkInputListeners.java

            broadcaster.remove(listener);
        }
    
        @Override
        public void broadcastFileSystemInputsOf(UnitOfWork work, EnumSet<InputBehavior> relevantBehaviors) {
            broadcaster.getSource().onExecute(work, relevantBehaviors);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 15 21:15:54 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/ExclusiveCacheAccessingWorker.java

                            failureHandler.onExecute(updateOperation);
                        }
                        Runnable otherOperation;
                        try {
                            while ((otherOperation = workQueue.poll(batchWindowMillis, TimeUnit.MILLISECONDS)) != null) {
                                failureHandler.onExecute(otherOperation);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/WorkInputListener.java

         * <p>
         *
         * @param work the identity of the unit of work to be executed
         * @param relevantBehaviors the file system inputs relevant to the task execution
         */
        void onExecute(UnitOfWork work, EnumSet<InputBehavior> relevantBehaviors);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/continuous/AccumulateBuildInputsListener.java

        public AccumulateBuildInputsListener(BuildInputHierarchy buildInputHierarchy) {
            this.buildInputHierarchy = buildInputHierarchy;
        }
    
        @Override
        public void onExecute(UnitOfWork work, EnumSet<InputBehavior> relevantBehaviors) {
            Set<String> taskInputs = new LinkedHashSet<>();
            Set<FilteredTree> filteredFileTreeTaskInputs = new LinkedHashSet<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    	return newApfServerWithFilter(t, fakeFilter, time.Minute/4, onExecute, postExecute)
    }
    
    func newApfServerWithFilter(t *testing.T, flowControlFilter utilflowcontrol.Interface, defaultWaitLimit time.Duration, onExecute, postExecute func()) *httptest.Server {
    	epmetrics.Register()
    	fcmetrics.Register()
    	apfServer := httptest.NewServer(newApfHandlerWithFilter(t, flowControlFilter, defaultWaitLimit, onExecute, postExecute))
    	return apfServer
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/integTest/groovy/org/gradle/integtests/fixtures/executer/IgnoreKotlinCompilerWarningIntegrationTest.groovy

    \tat org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
    \tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    \tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
    \tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

        }
    
        override fun onScriptClassLoaded(source: ScriptSource, scriptClass: Class<*>) {
            source.resource.file?.let {
                captureFile(it)
            }
        }
    
        override fun onExecute(work: UnitOfWork, relevantBehaviors: EnumSet<InputBehavior>) {
            captureWorkInputs(work, relevantBehaviors)
        }
    
        private
        fun captureFile(file: File) {
            sink().captureFile(file)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  10. pkg/controller/controller_utils_test.go

    								{Key: "key2", Value: "value2", Effect: "NoExecute"},
    							},
    						},
    					},
    				},
    				Clientset: fake.NewSimpleClientset(&v1.PodList{Items: []v1.Pod{*testutil.NewPod("pod0", "node0")}}),
    			},
    			nodeName: "node1",
    			taintsToRemove: []*v1.Taint{
    				{Key: "key2", Value: "value2", Effect: "NoExecute"},
    			},
    			expectedTaints: []v1.Taint{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top