- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 188 for instantly (3.45 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/TestThread.groovy
/** * Represents the current thread. */ class TestThread { private final Instants instants TestThread(Instants instants) { this.instants = instants } void block() { Thread.sleep(750) } BlockTarget getBlockUntil() { return new BlockTarget(instants) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 971 bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/operations/MaxWorkersTest.groovy
spec.instant.child2Started spec.thread.block() spec.instant.child2Finished } }) }) outer.leaseFinish() } then: instant.child2Started > instant.child1Finished || instant.child1Started > instant.child2Finished cleanup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/CleanupFrequency.java
import java.time.Duration; import java.time.Instant; /** * Represents when cache cleanup should be triggered. * * @since 8.0 */ public interface CleanupFrequency { /** * Trigger cleanup once every 24 hours. */ CleanupFrequency DAILY = new CleanupFrequency() { @Override public boolean requiresCleanup(@Nullable Instant lastCleanupTime) { if (lastCleanupTime == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 20:26:37 UTC 2024 - 2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/execution/DefaultCancellableOperationManagerTest.groovy
when: start { monitor.monitorInput { instant.started it.addCallback { instant.cancelled } thread.blockUntil.cancelled } instant.finished } thread.blockUntil.started writeEnd.close() thread.blockUntil.finished
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 08:18:46 UTC 2021 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MessageHubTest.groovy
instant.message1Dispatched < instant.message2Dispatched instant.message2Dispatched < instant.longDispatched cleanup: connection.stop() } def "queued outgoing messages are dispatched asynchronously to connection when connection is added"() { RemoteConnection<InterHubMessage> outgoing = Mock()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 21.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceWorkerLeaseTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 13.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy
state.applyToMutableState { assert state.hasMutableState() instant.thread2 } assert !state.hasMutableState() } } then: instant.thread2 > instant.thread1 } def "a given thread can only access the state of one project at a time"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 24.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceProjectLockTest.groovy
workerLeaseService.withLocks([taskLease]) { instant.worker1Locked thread.block() instant.worker1Unlocked } } start { thread.blockUntil.worker1Locked workerLeaseService.withLocks([taskLease]) { instant.worker2Locked assert lockIsHeld(taskLease)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 25.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenBuildTimestamp.java
* to {@link #MavenBuildTimestamp(Instant, String)} instead. */ @Deprecated public MavenBuildTimestamp(Instant time, Properties properties) { this(time, properties != null ? properties.getProperty(BUILD_TIMESTAMP_FORMAT_PROPERTY) : null); } public MavenBuildTimestamp(Instant time, String timestampFormat) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/InMemoryDecoratedCacheTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 5.1K bytes - Viewed (0)