Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for executionState (0.27 sec)

  1. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

                if (needToSelect) {
                    assert finalizedPlan.executionState() == WorkSource.State.MaybeWorkReadyToStart
                } else {
                    assert finalizedPlan.executionState() == WorkSource.State.NoMoreWorkToStart
                }
                assert finalizedPlan.selectNext().noMoreWorkToStart
                assert finalizedPlan.executionState() == WorkSource.State.NoMoreWorkToStart
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/execution/plan/WorkSource.java

         * the amount of work that happens in this method, which is called many, many times and should be fast.</p>
         */
        State executionState();
    
        /**
         * Selects a work item to start, returns {@link Selection#noWorkReadyToStart()} when there are no items that are ready to start (but some are queued for execution)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Nov 13 20:53:27 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultFinalizedExecutionPlan.java

            if (!(resourceLock instanceof WorkerLeaseRegistry.WorkerLease) && !readyNodes.isEmpty()) {
                maybeNodesSelectable = true;
            }
        }
    
        @Override
        public State executionState() {
            lockCoordinator.assertHasStateLock();
            if (waitingToStartNodes.isEmpty()) {
                return State.NoMoreWorkToStart;
            } else if (!readyNodes.isEmpty() && maybeNodesSelectable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 28 21:49:39 UTC 2022
    - 28.1K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanTest.groovy

            return tasks
        }
    
        List<Node> getExecutedNodes() {
            def nodes = []
            coordinator.withStateLock {
                while (finalizedPlan.executionState() != WorkSource.State.NoMoreWorkToStart) {
                    assert finalizedPlan.executionState() == WorkSource.State.MaybeWorkReadyToStart // There should always be a node ready to start when executing sequentially
                    def selection = finalizedPlan.selectNext()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildGateIntegrationTest.groovy

                            new Thread(gateKeeper).start()
                        }
                    }
                }
    
                def continuousExecutionGate = gradle.services.get(DeploymentRegistryInternal).executionGate
                BuildGateKeeperStarter.start(continuousExecutionGate)
    
                class SimpleTask extends DefaultTask {
                    @InputFile
                    File inputFile = project.file("input.txt")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutorTest.groovy

        List<Deployment> deployments = []
        def continuousExecutionGate = new DefaultContinuousExecutionGate()
        def deploymentRegistry = Stub(DeploymentRegistryInternal) {
            runningDeployments >> deployments
            executionGate >> continuousExecutionGate
        }
        def buildSessionContext = Mock(BuildSessionContext)
        def textOutputFactory = new TestStyledTextOutputFactory()
        def executorService = Executors.newCachedThreadPool()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top