- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getAllProjectsLock (0.38 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLockRegistry.java
allProjectsLocks = new LockCache<Path, AllProjectsLock>(coordinationService, this); } public boolean getAllowsParallelExecution() { return parallelEnabled; } public ResourceLock getAllProjectsLock(final Path buildIdentityPath) { return allProjectsLocks.getOrRegisterResourceLock(buildIdentityPath, new ResourceLockProducer<Path, AllProjectsLock>() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceProjectLockTest.groovy
} def "can lock and unlock all projects for a build"() { def allProjectsLock = workerLeaseService.getAllProjectsLock(path("root")) def projectLock = workerLeaseService.getProjectLock(path("root"), path(":project")) def otherBuildAllProjectsLock = workerLeaseService.getAllProjectsLock(path("other")) def otherBuildProjectLock = workerLeaseService.getProjectLock(path("other"), path(":project"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 25.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLeaseRegistry.java
*/ ResourceLock getAllProjectsLock(Path buildIdentityPath); /** * Get a lock for access to the specified project's state. */ ResourceLock getProjectLock(Path buildIdentityPath, Path projectIdentityPath); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 5.4K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/work/TestWorkerLeaseService.groovy
} } } @Override WorkerLeaseCompletion maybeStartWorker() { throw new UnsupportedOperationException() } @Override ResourceLock getAllProjectsLock(Path buildIdentityPath) { throw new UnsupportedOperationException() } @Override Collection<? extends ResourceLock> getCurrentProjectLocks() { throw new UnsupportedOperationException()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultWorkerLeaseService.java
return registries.get().getProjectLockRegistry().getAllowsParallelExecution(); } @Override public ResourceLock getAllProjectsLock(Path buildIdentityPath) { return registries.get().getProjectLockRegistry().getAllProjectsLock(buildIdentityPath); } @Override public ResourceLock getProjectLock(Path buildIdentityPath, Path projectIdentityPath) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 09 04:43:28 UTC 2024 - 20.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProjectStateRegistry.java
} @Override public <T> T withMutableStateOfAllProjects(Factory<T> factory) { ResourceLock allProjectsLock = workerLeaseService.getAllProjectsLock(owner.getIdentityPath()); Collection<? extends ResourceLock> locks = workerLeaseService.getCurrentProjectLocks(); return workerLeaseService.withReplacedLocks(locks, allProjectsLock, factory);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 21K bytes - Viewed (0)