Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ResourceLockProducer (0.35 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.internal.resources.AbstractResourceLockRegistry$ResourceLockProducer> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (AbstractResourceLockRegistry.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top