- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for reserveIdleClient (0.4 sec)
-
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonClientsManagerTest.groovy
def "does not reserve idle client when no clients"() { expect: manager.reserveIdleClient(options) == null } def "does not reserve idle client when no matching client found"() { def noMatch = Stub(WorkerDaemonClient) { isCompatibleWith(_) >> false } expect: manager.reserveIdleClient(options, [noMatch]) == null } def "reserves idle client when match found"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:56:11 UTC 2024 - 10.3K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClientsManager.java
} // TODO - should supply and check for the same parameters as passed to reserveNewClient() public WorkerDaemonClient reserveIdleClient(DaemonForkOptions forkOptions) { return reserveIdleClient(forkOptions, idleClients); } WorkerDaemonClient reserveIdleClient(DaemonForkOptions forkOptions, List<WorkerDaemonClient> clients) { synchronized (lock) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 19:54:37 UTC 2024 - 10K bytes - Viewed (0)