- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getIdleMillis (0.15 sec)
-
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy
then: 1 * command.run() >> { coordinator.getIdleMillis() == 0L } } def "idle millis is > 0 when daemon is idle"() { when: coordinator.updateActivityTimestamp() sleep(10) then: idle coordinator.getIdleMillis() > 0 } boolean isNotStopped() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 05 22:24:02 UTC 2024 - 16.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java
lock.lock(); try { return idleTimer.getElapsedMillis() / 1000.0 / 60.0; } finally { lock.unlock(); } } public long getIdleMillis() { if (state == State.Idle) { return idleTimer.getElapsedMillis(); } else { return 0L; } } boolean isWillRefuseNewCommands() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 17.1K bytes - Viewed (0)