Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getAllowsParallelExecution (0.54 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/TaskExecutionLockRegistry.java

            this.projectLockRegistry = projectLockRegistry;
        }
    
        public ResourceLock getTaskExecutionLock(Path buildIdentityPath, final Path projectIdentityPath) {
            if (projectLockRegistry.getAllowsParallelExecution()) {
                return getTaskExecutionLockForProject(projectIdentityPath, projectIdentityPath, buildIdentityPath);
            } else {
                return getTaskExecutionLockForBuild(buildIdentityPath, projectIdentityPath);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLockRegistry.java

            super(coordinationService);
            this.parallelEnabled = parallelEnabled;
            allProjectsLocks = new LockCache<Path, AllProjectsLock>(coordinationService, this);
        }
    
        public boolean getAllowsParallelExecution() {
            return parallelEnabled;
        }
    
        public ResourceLock getAllProjectsLock(final Path buildIdentityPath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/work/TestWorkerLeaseService.groovy

        Collection<? extends ResourceLock> getCurrentProjectLocks() {
            throw new UnsupportedOperationException()
        }
    
        @Override
        void runAsIsolatedTask() {
        }
    
        @Override
        boolean getAllowsParallelExecution() {
            return false
        }
    
        @Override
        int getMaxWorkerCount() {
            return 0
        }
    
        @Override
        WorkerLease getCurrentWorkerLease() {
            return workerLease()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultWorkerLeaseService.java

            }
        }
    
        @Override
        public boolean getAllowsParallelExecution() {
            return registries.get().getProjectLockRegistry().getAllowsParallelExecution();
        }
    
        @Override
        public ResourceLock getAllProjectsLock(Path buildIdentityPath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 04:43:28 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLeaseRegistry.java

         * and {@code false} when this registry grants only a single thread access to projects at any given time.
         */
        boolean getAllowsParallelExecution();
    
        /**
         * Releases any project state locks or task execution locks currently held by the current thread and executes the {@link Factory}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top