- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 103 for lockMode (0.13 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/CrossBuildCachingKeyService.java
BuildCommencedTimeProvider timeProvider, boolean refreshKeys) { cache = cacheBuilderFactory .createCrossVersionCacheBuilder("keyrings") .withInitialLockMode(FileLockManager.LockMode.OnDemand) .open(); this.buildOperationRunner = buildOperationRunner; this.delegate = delegate; this.timeProvider = timeProvider; this.refreshKeys = refreshKeys;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:44:56 UTC 2024 - 14.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt
private val cache = cacheBuilderFactory .createCrossVersionCacheBuilder("configuration-cache") .withDisplayName("Configuration Cache") .withInitialLockMode(FileLockManager.LockMode.OnDemand) // Don't need to lock anything until we use the caches .withLruCacheCleanup() .open() private fun CacheBuilder.withLruCacheCleanup(): CacheBuilder = withCleanupStrategy(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_6.adoc
The value is now set via a `Property<LockMode>` instead of a direct setter. This means that the notation to set the value has to be updated for the Kotlin DSL: ``` dependencyLocking { lockMode.set(LockMode.STRICT) } ``` Users of the Groovy DSL should not be impacted as the notation `lockMode = LockMode.STRICT` remains valid.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 15:00:23 UTC 2024 - 44.8K bytes - Viewed (0) -
platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/ZincScalaCompilerFactory.java
final PersistentCache zincCache = globalScopedCacheBuilderFactory.createCacheBuilder(zincCacheKey) .withDisplayName(zincCacheName) .withInitialLockMode(FileLockManager.LockMode.OnDemand) .open(); File compilerBridgeJar; if (isScala3(scalaVersion)) { compilerBridgeJar = findFile("scala3-sbt-bridge", hashedScalaClasspath.getClasspath());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:51:31 UTC 2024 - 11.2K bytes - Viewed (0) -
platforms/core-execution/build-cache-example-client/src/main/java/org/gradle/caching/example/BuildCacheClientModule.java
import java.net.InetSocketAddress; import java.net.UnknownHostException; import java.nio.file.Files; import java.util.Collections; import java.util.function.Supplier; import static org.gradle.cache.FileLockManager.LockMode.OnDemand; import static org.gradle.internal.snapshot.CaseSensitivity.CASE_SENSITIVE; @SuppressWarnings("MethodMayBeStatic") class BuildCacheClientModule extends AbstractModule {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 07:11:58 UTC 2024 - 18.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutor.java
this.keyToSnapshottable = keyToSnapshottable; this.timeProvider = timeProvider; this.cache = cacheBuilderFactory .createCacheBuilder(name) .withInitialLockMode(FileLockManager.LockMode.OnDemand) .open(); IndexedCacheParameters<HashCode, CachedEntry<RESULT>> cacheParams = createCacheConfiguration(name, resultSerializer, cacheDecoratorFactory);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:51:31 UTC 2024 - 16.1K bytes - Viewed (0) -
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) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/CrossBuildSignatureVerificationService.java
store = cacheBuilderFactory.createCacheBuilder("signature-verification") .withDisplayName("Signature verification cache") .withInitialLockMode(FileLockManager.LockMode.OnDemand) .open(); InterningStringSerializer stringSerializer = new InterningStringSerializer(new StringInterner()); cache = store.createIndexedCache( IndexedCacheParameters.of(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:42:50 UTC 2024 - 16.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCoordinator.java
import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import java.util.function.Consumer; import java.util.function.Supplier; import static org.gradle.cache.FileLockManager.LockMode.Exclusive; @ThreadSafe public class DefaultCacheCoordinator implements CacheCreationCoordinator, ExclusiveCacheAccessCoordinator { private final static Logger LOG = LoggerFactory.getLogger(DefaultCacheCoordinator.class);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 01 12:21:15 UTC 2024 - 20.5K bytes - Viewed (0) -
src/crypto/cipher/cbc.go
// BlockMode if found. type cbcEncAble interface { NewCBCEncrypter(iv []byte) BlockMode } // NewCBCEncrypter returns a BlockMode which encrypts in cipher block chaining // mode, using the given Block. The length of iv must be the same as the // Block's block size. func NewCBCEncrypter(b Block, iv []byte) BlockMode { if len(iv) != b.BlockSize() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 03:55:33 UTC 2022 - 5.4K bytes - Viewed (0)