- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 255 for Idle (6.59 sec)
-
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReportStatusIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/DaemonRegistryServicesTest.groovy
import org.junit.Rule import spock.lang.Specification import static org.gradle.internal.nativeintegration.services.NativeServices.NativeServicesMode import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Idle class DaemonRegistryServicesTest extends Specification { def lockManager = new DefaultFileLockManager(Stub(ProcessMetaDataProvider), Stub(FileLockContentionHandler)) def chmod = Stub(Chmod)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/MasterExpirationStrategy.java
// Expire under high JVM memory or GC pressure strategies.add(healthExpirationStrategy); // Expire compatible, idle, not recently used Daemons after a short time strategies.add(new AllDaemonExpirationStrategy(ImmutableList.of( new CompatibleDaemonExpirationStrategy(daemon),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 05 22:23:18 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/proxy/apis/config/types.go
// regardless of maxPerCore (set maxPerCore=0 to leave the limit as-is). Min *int32 // tcpEstablishedTimeout is how long an idle TCP connection will be kept open // (e.g. '2s'). Must be greater than 0 to set. TCPEstablishedTimeout *metav1.Duration // tcpCloseWaitTimeout is how long an idle conntrack entry // in CLOSE_WAIT state will remain in the conntrack // table. (e.g. '60s'). Must be greater than 0 to set.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 13K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReuseIntegrationTest.groovy
class DaemonReuseIntegrationTest extends DaemonIntegrationSpec { @Rule BlockingHttpServer server = new BlockingHttpServer() def setup() { server.start() } def "idle daemon is reused in preference to starting a new daemon"() { given: executer.run() daemons.daemon.assertIdle() when: 5.times { executer.run() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 10.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DispatcherTest.kt
} @Test fun idleCallbackInvokedWhenIdle() { val idle = AtomicBoolean() dispatcher.idleCallback = Runnable { idle.set(true) } client.newCall(newRequest("http://a/1")).enqueue(callback) client.newCall(newRequest("http://a/2")).enqueue(callback) executor.finishJob("http://a/1") assertThat(idle.get()).isFalse() val ready = CountDownLatch(1) val proceed = CountDownLatch(1)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 12.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/ClientShutdownCrossVersionSpec.groovy
given: toolingApi.close() when: toolingApi.withConnection {} then: thrown(IllegalStateException) } def "cleans up idle daemons when tooling API session is shutdown"() { withConnection { connection -> connection.model(GradleBuild).setJvmArguments(buildJvmArguments).get() } toolingApi.daemons.daemon.assertIdle()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonStopClient.java
this.connector = connector; this.idGenerator = idGenerator; this.stopDispatcher = new StopDispatcher(); } /** * Requests that the given daemons stop when idle. Does not block and returns before the daemons have all stopped. */ public void gracefulStop(Collection<DaemonConnectDetails> daemons) { for (DaemonConnectDetails daemon : daemons) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonRegistryUnavailableExpirationStrategyTest.groovy
import spock.lang.Specification import spock.lang.Subject import static org.gradle.internal.nativeintegration.services.NativeServices.NativeServicesMode import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Idle import static org.gradle.launcher.daemon.server.expiry.DaemonExpirationStatus.DO_NOT_EXPIRE import static org.gradle.launcher.daemon.server.expiry.DaemonExpirationStatus.GRACEFUL_EXPIRE
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 3.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonFixture.java
/** * Asserts that this daemon becomes idle within a short timeout. Blocks until this has happened. */ DaemonFixture becomesIdle(); /** * Asserts that this daemon stops and is no longer visible to any clients within a short timeout. Blocks until this has happened. */ DaemonFixture stops(); /** * Asserts that this daemon is currently idle. */ void assertIdle(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.1K bytes - Viewed (0)