Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getResourcesToLock (0.17 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/plan/TaskInAnotherBuild.java

        public ProjectInternal getOwningProject() {
            // Ignore, as the node in the other build's execution graph takes care of this
            return null;
        }
    
        @Override
        public List<ResourceLock> getResourcesToLock() {
            // Ignore, as the node in the other build's execution graph will take care of this
            return Collections.emptyList();
        }
    
        @Override
        public Throwable getNodeFailure() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 06 15:09:14 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultFinalizedExecutionPlan.java

            for (ResourceLock resource : node.getResourcesToLock()) {
                if (!resource.tryLock()) {
                    return false;
                }
                resources.add(resource);
            }
            return true;
        }
    
        private void unlockSharedResourcesFor(Node node) {
            node.getResourcesToLock().forEach(ResourceLock::unlock);
        }
    
    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. subprojects/core/src/main/java/org/gradle/execution/plan/LocalTaskNode.java

        public ProjectInternal getOwningProject() {
            // Task requires its owning project's execution services
            return taskProject;
        }
    
        @Override
        public List<? extends ResourceLock> getResourcesToLock() {
            if (resourceLocks == null) {
                resourceLocks = task.getSharedResources();
            }
            return resourceLocks;
        }
    
        @Override
        public TaskInternal getTask() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 16 23:29:30 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/Node.java

         *
         * This operation should complete quickly,
         * must not run user code, and
         * should not need to acquire additional locks.
         */
        public List<? extends ResourceLock> getResourcesToLock() {
            return Collections.emptyList();
        }
    
        @Override
        public abstract String toString();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 24 13:30:48 UTC 2023
    - 22.7K bytes
    - Viewed (0)
Back to top