- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ResourceLockProducer (0.23 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/LockCache.java
this.coordinationService = coordinationService; this.owner = owner; } public T getOrRegisterResourceLock(final K key, final AbstractResourceLockRegistry.ResourceLockProducer<K, T> producer) { try { return resourceLocks.get(key, new Callable<T>() { @Override public T call() { return createResourceLock(key, producer);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/TaskExecutionLockRegistry.java
private TaskExecutionLock getTaskExecutionLockForProject(final Path projectIdentityPath, final Path projectIdentityPath1, final Path buildIdentityPath) { return getOrRegisterResourceLock(projectIdentityPath, new ResourceLockProducer<Path, TaskExecutionLock>() { @Override public TaskExecutionLock create(Path key, ResourceLockCoordinationService coordinationService, ResourceLockContainer owner) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLockRegistry.java
return parallelEnabled; } public ResourceLock getAllProjectsLock(final Path buildIdentityPath) { return allProjectsLocks.getOrRegisterResourceLock(buildIdentityPath, new ResourceLockProducer<Path, AllProjectsLock>() { @Override public AllProjectsLock create(Path key, ResourceLockCoordinationService coordinationService, ResourceLockContainer owner) {
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/main/java/org/gradle/internal/resources/AbstractResourceLockRegistry.java
this.resourceLocks = new LockCache<K, T>(coordinationService, this); } protected T getOrRegisterResourceLock(final K key, final ResourceLockProducer<K, T> producer) { return resourceLocks.getOrRegisterResourceLock(key, producer); } @Override public List<T> getResourceLocksByCurrentThread() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/AbstractResourceLockRegistryTest.groovy
super(coordinationService) } def getResourceLock(String displayName) { return getOrRegisterResourceLock(displayName, new AbstractResourceLockRegistry.ResourceLockProducer<String, ResourceLock>() { @Override ResourceLock create(String name, ResourceLockCoordinationService coordinationService, ResourceLockContainer owner) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.6K bytes - Viewed (0)