- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,771 for held (0.16 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLeaseRegistry.java
boolean getAllowsParallelExecution(); /** * Releases any project state locks or task execution locks currently held by the current thread and executes the {@link Factory}. * Upon completion of the {@link Factory}, if a lock was held at the time the method was called, then it will be reacquired. * If no locks were held at the time the method was called, then no attempt will be made to reacquire a lock on completion.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/ObjectHolder.java
* Fetches the value from this cache. A shared or exclusive lock is held while fetching the value, depending on implementation. */ T get(); /** * Sets the value for this cache. An exclusive lock is held while setting the value. */ void set(T newValue); /** * Replaces the value for this cache. * * An exclusive lock is held while the update action is executing.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/IndexedCache.java
*/ @Override void put(K key, V value); /** * Removes a key-value mapping from this cache. A shared lock is held while updating the value. * * The implementation may do this synchronously or asynchronously. A file lock is held until the value has been removed from the persistent store. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ResourceLockRegistry.java
public interface ResourceLockRegistry { /** * Get all of the resource locks held by the current thread. */ Collection<? extends ResourceLock> getResourceLocksByCurrentThread(); /** * Returns true if the registry has any locks that are being held by a thread. * * @return true if any locks in the registry are currently held. */ boolean hasOpenLocks();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/PersistentCache.java
import org.gradle.internal.serialize.Serializer; import java.io.Closeable; import java.io.File; /** * Represents a directory that can be used for caching. * * <p>By default, a shared lock is held on this cache by this process, to prevent it being removed or rebuilt by another process * while it is in use. You can change this use {@link CacheBuilder#withInitialLockMode(org.gradle.cache.FileLockManager.LockMode)}. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 19 07:59:23 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/SharedResourceLeaseRegistryTest.groovy
boolean lockIsHeld(final ResourceLock resourceLock) { MutableBoolean held = new MutableBoolean() coordinationService.withStateLock(new InternalTransformer<ResourceLockState.Disposition, ResourceLockState>() { @Override ResourceLockState.Disposition transform(ResourceLockState resourceLockState) { held.set(resourceLock.locked && resourceLock.isLockedByCurrentThread())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLock.java
super(displayName, coordinationService, owner); this.allProjectsLock = allProjectsLock; } @Override protected boolean canAcquire() { // Either the "all projects" lock is not held, or it is held by this thread return !allProjectsLock.isLocked() || allProjectsLock.isLockedByCurrentThread(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/AbstractCrossProcessCacheAccess.java
/** * Opens this cache access instance when the cache is opened. State lock is held while this method is called. */ public abstract void open(); /** * Closes this cache access instance when the cache is opened. State lock is held while this method is called. */ @Override public abstract void close();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
for (int i = 0; i < length; i++) { Object key = new Object(); // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently // held chain = segment.newEntry(key, cache.hash(key), chain); if (i == 0) { head = chain; } } } @SuppressWarnings("GuardedBy") @Benchmark int time(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/FileAccess.java
* @throws FileIntegrityViolationException If the integrity of the file cannot be guaranteed (i.e. {@link #writeFile(Runnable)} has never been called) * @throws InsufficientLockModeException If the held lock is not at least a shared lock (e.g. LockMode.NONE) */ <T> T readFile(Callable<? extends T> action) throws LockTimeoutException, FileIntegrityViolationException, InsufficientLockModeException; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 3.6K bytes - Viewed (0)