Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for lockMode (0.41 sec)

  1. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy

                        def lock
                        try {
                            lock = fileLockManager.lock(projectLayout.projectDirectory.file("locks/testlock").asFile, DefaultLockOptions.mode(FileLockManager.LockMode.Exclusive), "task file lock")
                        } finally {
                            lock?.close()
                        }
                    }
                }
    
                tasks.register("lock", FileLocker)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/service/scopes/ExecutionGradleServices.java

                .createCrossVersionCacheBuilder("buildOutputCleanup")
                .withDisplayName("Build Output Cleanup Cache")
                .withInitialLockMode(FileLockManager.LockMode.OnDemand)
                .withProperties(Collections.singletonMap("gradle.version", GradleVersion.current().getVersion()))
                .open();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/process/internal/worker/child/WorkerProcessClassPathProvider.java

                        PersistentCache workerClassPathCache = cacheBuilderFactory
                            .createCacheBuilder("workerMain")
                            .withInitialLockMode(FileLockManager.LockMode.Exclusive)
                            .withInitializer(new CacheInitializer())
                            .open();
                        try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectory.java

        }
    
        public FileLock acquireWriteLock(File destinationFile, String operationName) {
            return lockManager.lock(destinationFile, DefaultLockOptions.mode(FileLockManager.LockMode.Exclusive), destinationFile.getName(), operationName);
        }
    
        public File getDownloadLocation() {
            return jdkDirectory;
        }
    
        private static String getNameWithoutExtension(File file) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 23:47:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_plugin.go

    		return nil, errors.New(log("plugin.ConstructBlockVolumeSpec failed loading volume data using [%s]: %v", mapPath, err))
    	}
    
    	klog.V(4).Info(log("plugin.ConstructBlockVolumeSpec extracted [%#v]", volData))
    
    	blockMode := api.PersistentVolumeBlock
    	pv := &api.PersistentVolume{
    		ObjectMeta: meta.ObjectMeta{
    			Name: volData[volDataKey.specVolID],
    		},
    		Spec: api.PersistentVolumeSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
Back to top