- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for isAllowedUncontrolledAccessToAnyProject (0.52 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceProjectLockTest.groovy
expect: !workerLeaseService.isAllowedUncontrolledAccessToAnyProject() def result = workerLeaseService.allowUncontrolledAccessToAnyProject { assert workerLeaseService.isAllowedUncontrolledAccessToAnyProject() workerLeaseService.allowUncontrolledAccessToAnyProject { assert workerLeaseService.isAllowedUncontrolledAccessToAnyProject() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 25.6K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/work/TestWorkerLeaseService.groovy
action.run() } @Override <T> T allowUncontrolledAccessToAnyProject(Factory<T> factory) { return factory.create() } @Override boolean isAllowedUncontrolledAccessToAnyProject() { return false } private WorkerLease workerLease() { return new WorkerLease() { @Override boolean isLocked() {
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/resources/ProjectLeaseRegistry.java
* * DO NOT USE THIS METHOD. It is here to allow some very specific backwards compatibility. */ <T> T allowUncontrolledAccessToAnyProject(Factory<T> factory); boolean isAllowedUncontrolledAccessToAnyProject(); /** * Performs some blocking action. If the current thread is allowed to make changes to project locks, then release all locks * then run the action and reacquire any locks.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultWorkerLeaseService.java
return registries.get().getProjectLockRegistry().allowUncontrolledAccessToAnyResource(factory); } @Override public boolean isAllowedUncontrolledAccessToAnyProject() { return registries.get().getProjectLockRegistry().isAllowedUncontrolledAccessToAnyResource(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 09 04:43:28 UTC 2024 - 20.9K bytes - Viewed (0)