- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 464 for lock1 (0.04 sec)
-
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/PersistentDaemonRegistry.java
import org.gradle.launcher.daemon.context.DaemonContext; import java.io.File; import java.util.Collection; import java.util.LinkedList; import java.util.List; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State; import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Canceled;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 8.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryStoreTest.groovy
_ * lock.state 1 * lock.close() 0 * _._ } def "locks requested target"() { final store = new DefaultPersistentDirectoryStore(cacheDir, "<display>", mode(Shared), null, lockManager, Mock(ExecutorFactory), buildOperationRunner) when: store.open() then: 1 * lockManager.lock(cacheDir.file("."), mode(Shared), "<display> ($cacheDir)") >> lock
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 16:40:49 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ResourceLockState.java
/** * Possible results from a resource lock state transform. */ enum Disposition { FAILED, FINISHED, RETRY } /** * Registers a resource lock to be rolled back if the transform associated with this resource lock state * fails. */ void registerLocked(ResourceLock resourceLock); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java
public void loadLocally(HashCode key, Consumer<? super File> reader) { // We need to lock other processes out here because garbage collection can be under way in another process persistentCache.withFileLock(() -> { // Additional locking necessary because of https://github.com/gradle/gradle/issues/3537 lock.readLock().lock(); try { loadInsideLock(key, reader); } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:53 UTC 2024 - 7K bytes - Viewed (0) -
cmd/local-locker.go
TimeLastRefresh time.Time // Timestamp for last lock refresh. Source string // Contains line, function and filename requesting the lock. Group bool // indicates if it was a group lock. Owner string // Owner represents the UUID of the owner who originally requested the lock. Quorum int // Quorum represents the quorum required for this lock to be active.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClasspathInferer.java
import java.util.LinkedHashSet; import java.util.Map; import java.util.Set; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; @ThreadSafe public class ClasspathInferer { private static final Logger LOGGER = LoggerFactory.getLogger(ClasspathInferer.class); private final Lock lock = new ReentrantLock(); private final Map<Class<?>, Collection<URI>> classPathCache;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:53:31 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClientConnection.java
import org.gradle.launcher.daemon.context.DaemonConnectDetails; import org.gradle.launcher.daemon.protocol.Message; import javax.annotation.Nullable; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; /** * A simple wrapper for the connection to a daemon. * * <p>Currently, dispatch is thread safe, and receive is not. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 30 06:43:50 UTC 2024 - 4.2K bytes - Viewed (0) -
cmd/bucket-object-lock.go
return ObjectLocked{} } if !ret.RetainUntilDate.Before(t) { return ObjectLocked{} } return nil } // https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-retention-modes // If you try to delete objects protected by governance mode and have s3:BypassGovernanceRetention, the operation will succeed.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 13.2K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/ConcurrentTestUtil.groovy
private final List<TestParticipant> participants private final Lock lock CompositeTestParticipant(ConcurrentTestUtil owner, Lock lock, List<TestParticipant> participants) { super(owner) this.participants = participants this.lock = lock } void running() { lock.lock() try { participants*.running() } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 22.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultBuildLogicBuildQueue.java
} @SuppressWarnings("try") private <T> T withBuildLogicQueueLock(Supplier<T> buildAction) { lock.lock(); try { final boolean firstLockHolder = lock.getHoldCount() == 1; if (firstLockHolder) { // lock file at the top of the callstack only try (FileLock ignored = lockBuildLogicQueueFile()) { return buildAction.get();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 16 23:00:15 UTC 2024 - 3.8K bytes - Viewed (0)