Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for releaseLock (0.19 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/DefaultResourceLockCoordinationServiceTest.groovy

                }
            })
    
            then:
            thrown(RuntimeException)
    
            and:
            !lock1.lockedState
            !lock2.lockedState
        }
    
        def "locks are rolled back when releaseLocks is called"() {
            def lock1 = resourceLock("lock1", false)
            def lock2 = resourceLock("lock2", false)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultFinalizedExecutionPlan.java

            resources.clear();
            if (!tryAcquireLocksForNode(node, resources)) {
                releaseLocks(resources);
                return false;
            }
    
            MutationInfo mutations = node.getMutationInfo();
    
            if (conflictsWithOtherNodes(node, mutations)) {
                releaseLocks(resources);
                return false;
            }
    
            node.startExecution(this::recordNodeExecutionStarted);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 28 21:49:39 UTC 2022
    - 28.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    		for _, admissionAttribute := range admissionAttributes {
    			admissionAttribute.result = nil
    		}
    		return
    	}
    
    	if e.lockAcquisitionFunc != nil {
    		releaseLocks := e.lockAcquisitionFunc(quotas)
    		defer releaseLocks()
    	}
    
    	e.checkQuotas(quotas, admissionAttributes, 3)
    }
    
    // checkQuotas checks the admission attributes against the passed quotas.  If a quota applies, it will attempt to update it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultPlanExecutor.java

                        try {
                            workItem = queue.selectNext();
                        } catch (Throwable t) {
                            resourceLockState.releaseLocks();
                            queue.abortAllAndFail(t);
                            return FINISHED;
                        }
                        if (workItem.isNoMoreWorkToStart()) {
                            return FINISHED;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  5. test-site/activator-launch-1.3.2.jar

    currentLockCounters; protected void FileBasedLockStrateg(); protected void FileBasedLockStrateg(boolean); private void FileBasedLockStrateg(FileBasedLockStrateg$FileLocker, boolean); protected final boolean acquireLock(java.io.File); protected final void releaseLock(java.io.File); private static void debugLocking(String); private int incrementLock(java.io.File); } org/apache/ivy/plugins/lock/FileBasedLockStrateg$FileLocker.class package org.apache.ivy.plugins.lock; public final synchronized class FileBased...
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (1)
  6. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.internal.resources.DefaultResourceLockCoordinationService$ReleaseLocks> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DefaultResourceLockCoordinationService.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